gettxoutproof
Bitcoin node API
gettxoutproof | Bitcoin
Reference for the gettxoutproof JSON-RPC method on the Bitcoin blockchain via Chainstack nodes. Parameters, response, and examples included.
POST
gettxoutproof
The
gettxoutproof method provides a merkle branch proof of the inclusion of one or more transactions in a block, proving that a transaction is indeed part of a block without needing the entire block data.
Get your own node endpoint todayStart for free and get your app to production levels immediately. No credit card required.You can sign up with your GitHub, X, Google, or Microsoft account.
Parameters
transaction ID(s)(required): An array of one or more transaction IDs for which the proof of inclusion is requested.
Response
result— a string representing the merkle branch proof in hexadecimal format.error— an object containing an error message if an error occurred, otherwisenull.id— an integer representing the ID of the request.
Use case
Thegettxoutproof method is particularly useful for lightweight clients and for applications that need to verify transactions without downloading the entire blockchain. It provides a way to confirm transaction inclusion efficiently.Body
application/json
Last modified on May 18, 2026