View source: R/BlockchainRpcs.R
| gettxoutproof | R Documentation |
Returns a hex-encoded proof that "txid" was included in a block.
gettxoutproof(con, txids, blockhash = NULL)
con |
object of class |
txids |
|
blockhash |
|
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).
A S4-object of class ANSRPC.
Bernhard Pfaff
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.