cURL
curl --request GET \ --url https://xbt-mainnet.gomaestro-api.org/v0/esplora/tx/{txid}/merkle-proof \ --header 'api-key: <api-key>'
{ "block_height": 776302, "merkle": [ "4a5e1e4b...", "b5b4e9f0..." ], "pos": 142 }
Get Merkle proof for a Bitcoin transaction to verify its inclusion in a specific block.
Project API Key
The transaction ID to get the merkle proof for.
"d78b1139140848e646cfd7eb95868d2e01c600c3922de88038c591d2fb55cf96"
Merkle inclusion proof data.
Block height where the transaction was included.
Merkle branch hashes proving the inclusion of the transaction.
Position of the transaction in the block's merkle tree.
Was this page helpful?