File tree Expand file tree Collapse file tree 3 files changed +12
-12
lines changed
Expand file tree Collapse file tree 3 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -477,11 +477,11 @@ impl<S: Sleeper> AsyncClient<S> {
477477 self . get_response_json ( & path) . await
478478 }
479479
480- /// Get transaction history for the specified address/scripthash ,
481- /// sorted with newest first. Returns 25 transactions per page.
482- /// More can be requested by specifying the last txid seen by the previous
483- /// query.
484- pub async fn scripthash_txs (
480+ /// Get transaction history for the specified [`Script`] hash ,
481+ /// sorted by newest first. Returns 25 transactions per page.
482+ /// More can be requested by specifying
483+ /// the last [`Txid`] seen by the previous query.
484+ pub async fn get_scripthash_txs (
485485 & self ,
486486 script : & Script ,
487487 last_seen : Option < Txid > ,
Original file line number Diff line number Diff line change @@ -436,11 +436,11 @@ impl BlockingClient {
436436 self . get_response_json ( & path)
437437 }
438438
439- /// Get transaction history for the specified scripthash ,
440- /// sorted with newest first. Returns 25 transactions per page.
441- /// More can be requested by specifying the last txid seen by the previous
442- /// query.
443- pub fn scripthash_txs (
439+ /// Get transaction history for the specified [`Script`] hash ,
440+ /// sorted by newest first. Returns 25 transactions per page.
441+ /// More can be requested by specifying
442+ /// the last [`Txid`] seen by the previous query.
443+ pub fn get_scripthash_txs (
444444 & self ,
445445 script : & Script ,
446446 last_seen : Option < Txid > ,
Original file line number Diff line number Diff line change @@ -915,13 +915,13 @@ mod test {
915915 . tx ;
916916 let script = & expected_tx. output [ 0 ] . script_pubkey ;
917917 let scripthash_txs_txids: Vec < Txid > = blocking_client
918- . scripthash_txs ( script, None )
918+ . get_scripthash_txs ( script, None )
919919 . unwrap ( )
920920 . iter ( )
921921 . map ( |tx| tx. txid )
922922 . collect ( ) ;
923923 let scripthash_txs_txids_async: Vec < Txid > = async_client
924- . scripthash_txs ( script, None )
924+ . get_scripthash_txs ( script, None )
925925 . await
926926 . unwrap ( )
927927 . iter ( )
You can’t perform that action at this time.
0 commit comments