gettxout: RPC-JSON API: gettxout

Description Usage Arguments Details Value Author(s) References See Also

View source: R/BlockchainRpcs.R

Description

Returns details about an unspent transaction output.

Usage

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

Arguments

con

object of class CONRPC.

txid

charcater the transaction id.

n

integer vout number.

incmempool

logical whether to include the mempool (default TRUE).

Details

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

Value

A S4-object of class ANSRPC.

Author(s)

Bernhard Pfaff

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(), getblockchaininfo(), getblockcount(), getblockhash(), getblockheader(), getblock(), getchaintips(), getchaintxstats(), getdifficulty(), getmempoolancestors(), getmempooldescendants(), getmempoolentry(), getmempoolinfo(), getrawmempool(), gettxoutproof(), gettxoutsetinfo(), pruneblockchain(), verifychain(), verifytxoutproof()


rbch documentation built on Jan. 11, 2022, 1:06 a.m.

Related to gettxout in rbch...