gettxoutproof

The gettxoutproof RPC method returns a hex-encoded proof that the specified transaction(s) were included in a block. This method can be used to provide proof of inclusion for one or more transactions in the blockchain.


Parameters

parameter
description
txids
An array of transaction IDs to create a proof for. Example: ["c7ad51e46a39d136adc2bb7536a236136cc206ab3c8dabcd4277d4cadcf674f2"]
blockhash
The hash of the block that contains the transactions. If not provided, the method will search for the transactions in the most recent blocks. Example: "00000000000000000004c6125026f00b76e7b762e645a0b0b7ecfa7a7dafdba2"
Return Object
name
description
hex
The hex-encoded proof of the transaction(s) inclusion in the block.
Request Example
Bitcoin Get TX Out Proof Request

Share on
Share on FacebookShare on XShare on LinkedIn
Did you find this page useful?