GET /scripthash/:hash/txs
Last updated
Was this helpful?
Get transaction history for the specified scripthash, sorted with newest first.
This method will use 10 Compute Units.
scripthash - required.
Get transaction history for the specified scripthash, sorted with newest first.
Returns up to 50 mempool transactions plus the first 25 confirmed transactions. You can request more confirmed transactions using :last_seen_txid
curl https://mainnet.bitcoin.validationcloud.io/v1/<YOUR_API_KEY>/scripthash/<scripthash>/txs \
-X GETcurl https://testnet.bitcoin.validationcloud.io/v1/<YOUR_API_KEY>/scripthash/<scripthash>/txs \
-X GETLast updated
Was this helpful?
Was this helpful?