Returns a hex-encoded proof that "txid" was included in a block.
gettxoutproof(con, txids, blockhash = NULL)A S4-object of class ANSRPC.
object of class CONRPC.
charcater a json array of txids to filter.
integer looks for txid in the block with this hash,
(optional, default NULL).
Bernhard Pfaff
NOTE: By default this function only works sometimes. This is when there is an unspent output in the utxo for this transaction. To make it always work, you need to maintain a transaction index, using the -txindex command line option or specify the block in which the transaction is included manually (by blockhash).
https://bitcoin.org/en/developer-reference#gettxoutproof, https://bitcoin.org/en/developer-reference#remote-procedure-calls-rpcs
Other Blockchain RPCs: decodescript,
getbestblockhash,
getblockchaininfo,
getblockcount, getblockhash,
getblockheader, getblock,
getchaintips,
getchaintxstats,
getdifficulty,
getmempoolancestors,
getmempooldescendants,
getmempoolentry,
getmempoolinfo,
getrawmempool,
gettxoutsetinfo, gettxout,
preciousblock,
pruneblockchain, verifychain,
verifytxoutproof