Returns details about an unspent transaction output.
gettxout(con, txid, n, incmempool = TRUE)
object of class CONRPC
.
charcater
the transaction id.
integer
vout number.
logical
whether to include the mempool (default TRUE
).
A S4-object of class ANSRPC
.
Note that an unspent output that is spent in the mempool won't appear.
https://bitcoin.org/en/developer-reference#gettxout, 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
, gettxoutproof
,
gettxoutsetinfo
,
preciousblock
,
pruneblockchain
, verifychain
,
verifytxoutproof