For the complete documentation index, see llms.txt. This page is also available as Markdown.

GET /scripthash/:hash/txs

Get transaction history for the specified scripthash, sorted with newest first.

This method will use 10 Compute Units.


Parameters

scripthash - required.

Returns

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 GET
curl https://testnet.bitcoin.validationcloud.io/v1/<YOUR_API_KEY>/scripthash/<scripthash>/txs \
 -X GET

Last updated

Was this helpful?