Learn R Programming

rbch (version 0.1-2)

gettxout: RPC-JSON API: gettxout

Description

Returns details about an unspent transaction output.

Usage

gettxout(con, txid, n, incmempool = TRUE)

Value

A S4-object of class ANSRPC.

Arguments

con

object of class CONRPC.

txid

charcater the transaction id.

n

integer vout number.

incmempool

logical whether to include the mempool (default TRUE).

Author

Bernhard Pfaff

Details

Note that an unspent output that is spent in the mempool won't appear.

References

https://bitcoin.org/en/developer-reference#gettxout, https://bitcoin.org/en/developer-reference#remote-procedure-calls-rpcs

See Also

Other Blockchain RPCs: decodescript(), getbestblockhash(), getblock(), getblockchaininfo(), getblockcount(), getblockhash(), getblockheader(), getchaintips(), getchaintxstats(), getdifficulty(), getmempoolancestors(), getmempooldescendants(), getmempoolentry(), getmempoolinfo(), getrawmempool(), gettxoutproof(), gettxoutsetinfo(), pruneblockchain(), verifychain(), verifytxoutproof()