Learn R Programming

rbch (version 0.1-2)

getmempoolancestors: RPC-JSON API: getmempoolancestors

Description

If txid is in the mempool, returns all in-mempool ancestors.

Usage

getmempoolancestors(con, txid, verbose = FALSE)

Value

A S4-object of class ANSRPC.

Arguments

con

object of class CONRPC.

txid

character, the transaction id (must be in mempool).

verbose

logical, TrueTRUE for a json object, FALSE for array of transaction ids (default).

Author

Bernhard Pfaff

References

https://bitcoin.org/en/developer-reference#getmempoolancestors, 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(), getmempooldescendants(), getmempoolentry(), getmempoolinfo(), getrawmempool(), gettxout(), gettxoutproof(), gettxoutsetinfo(), pruneblockchain(), verifychain(), verifytxoutproof()