bitcoind.app
CommandsGuidesContact ↗
Home/Blockchain/verifytxoutproof
Blockchain

verifytxoutproof

Verifies that a proof points to a transaction in a block.

Parameters

proofstringREQUIRED
The hex-encoded proof from gettxoutproof

Returns

arrayArray of txids the proof commits to

Code Examples

curl --user myuser --data-binary '{"jsonrpc":"1.0","id":"1","method":"verifytxoutproof","params":["proof_hex"]}' -H 'content-type:text/plain;' http://127.0.0.1:8332/

Example Response

["a1075db55d416d3ca199f55b6084e2115b9345e16c5cf302fc80e9d5fbf5d48d"]
← Previous
verifychain
Next →
getmemoryinfo

More Blockchain Commands

getbestblockhashgetblockgetblockchaininfogetblockcountgetblockfiltergetblockhash

bitcoind.app — Bitcoin Core RPC Reference

GuidesContact ↗