post https://nd-202-842-353.p2pify.com/788f110831fe13808302bd79796d55e8/
The verifytxoutproof
method validates a proof of inclusion for a transaction in a block, returning the transaction IDs if the proof is valid.
Get the
gettxoutproof
firstGet the
gettxoutproof
first and then use it to verify the proof for this example to work
Get you own node endpoint today
Start 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
proof
(required): The proof of inclusion for a transaction in a block, typically a merkle branch in hexadecimal format.
Response
result
— an array of transaction IDs that were included in the proof if it is valid.error
— an object containing an error message if an error occurred, otherwisenull
.id
— an integer representing the ID of the request.
Use case
The verifytxoutproof
method is useful for verifying that a particular transaction was included in a block without needing the entire block data. This is particularly useful for lightweight clients and applications that need to verify transaction inclusion efficiently.
Try the verifytxoutproof
RPC method yourself
verifytxoutproof
RPC method yourself