Skip to content

Getmempoolancestors

getmempoolancestors

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

Arguments

Position Name Type Required Default Description
2 verbose boolean Optional false See CLI help for details

Examples

 raptoreum-cli getmempoolancestors "mytxid"
 curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getmempoolancestors", "params": ["mytxid"] }' -H 'content-type: text/plain;' http://127.0.0.1:10225/