verifytxoutproof

verifytxoutproof "proof"

Verifies that a proof is linked to a transaction within a block, returning the committed transaction. It will throw an RPC error if the block is not part of the best chain.

Argument #1 – proof

Type: string, required

The hex-encoded proof generated by gettxoutproof

Result

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