getmempoolancestors: RPC-JSON API: getmempoolancestors

Description Usage Arguments Value Author(s) References See Also

View source: R/BlockchainRpcs.R

Description

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

Usage

1
getmempoolancestors(con, txid, verbose = FALSE)

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).

Value

A S4-object of class ANSRPC.

Author(s)

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


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