verifytxoutproof

Input(s) 1

This command validates whether a given proof correctly points to a transaction within a block. If the proof is valid, it returns the transaction ID(s) that the proof commits to. If the block referenced by the proof is not in the best chain, an RPC error is thrown.

How is this used?

The verifytxoutproof command is employed to verify the integrity of a transaction by confirming its inclusion in a block. This is crucial for ensuring that transactions are correctly processed and recorded on the blockchain. By validating transaction proofs, users can verify the authenticity of transactions without relying solely on centralized authorities.

Request

method

verifytxoutproof

proof

Required

Inputs(1)

one required input remaining...

proof (required) - The hex-encoded proof generated by gettxoutproof

Result