Skip to content

verifytxoutproof JSON-RPC command

verifytxoutproof "proof"

Verifies that a proof points to a transaction in a block, returning the transaction it commits to and throwing an RPC error if the block is not in our best chain

Arguments

1. "proof" (string, required) The hex-encoded proof generated by gettxoutproof

Result

["txid"] (array, strings) The txid(s) which the proof commits to, or empty array if the proof can not be validated.


Bitcoin Cash Node Daemon version v29.0.1-71febb2

Documentation on docs.bitcoincashnode.org reflects the current master branch in Git, and may include API changes that are not yet present in the latest release.