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.
verifytxoutproof(con, proof)
A S4-object of class ANSRPC
.
object of class CONRPC
.
character
the hex-encoded proof generated
by gettxoutproof.
Bernhard Pfaff
https://bitcoin.org/en/developer-reference#verifytxoutproof, https://bitcoin.org/en/developer-reference#remote-procedure-calls-rpcs
Other Blockchain RPCs:
decodescript()
,
getbestblockhash()
,
getblock()
,
getblockchaininfo()
,
getblockcount()
,
getblockhash()
,
getblockheader()
,
getchaintips()
,
getchaintxstats()
,
getdifficulty()
,
getmempoolancestors()
,
getmempooldescendants()
,
getmempoolentry()
,
getmempoolinfo()
,
getrawmempool()
,
gettxout()
,
gettxoutproof()
,
gettxoutsetinfo()
,
pruneblockchain()
,
verifychain()