verifytxoutproof "proof"

The verifytxoutproof RPC 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

*bitcoin-cli help verifytxoutproof

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:
[           (json array)
  "hex",    (string) The txid(s) which the proof commits to, or empty array if the proof cannot be validated.
  ...
]