verifytxoutproof

Back to blockchain

Summary

Verifies that a proof points to a transaction in a block, returning the transaction it commits to

Description

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

  • proof (STR_HEX, required): The hex-encoded proof generated by gettxoutproof

Results

  • value (ARR): No description.
  • txid (STR_HEX): The txid(s) which the proof commits to, or empty array if the proof cannot be validated.

Examples

None.