bitcoindevkit / rust-esplora-client

Bitcoin Esplora API client library. Supports plaintext, TLS and Onion servers. Blocking or async.
MIT License
28 stars 44 forks source link

scripthash_txs not meet expectations #92

Closed Crayon-Shin-chan-1024 closed 3 weeks ago

Crayon-Shin-chan-1024 commented 1 month ago

From esplora API

GET /scripthash/:hash/txs 

Returns up to 50 mempool transactions plus the first 25 confirmed transactions.

should return mempool transactions, i think the scripthash_txs api goal is just get confirmed transactions

so maybe use

GET /scripthash/:hash/txs/chain