Skip to main content

getmempoolinfo

Command#

pacprotocol-cli getmempoolinfo

Returns details on the active state of the TX memory pool.

Examples#

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

Result#

{
"size": xxxxx, #(numeric) Current tx count
"bytes": xxxxx, #(numeric) Sum of all tx sizes
"usage": xxxxx, #(numeric) Total memory usage for the mempool
"maxmempool": xxxxx, #(numeric) Maximum memory usage for the mempool
"mempoolminfee": xxxxx #(numeric) Minimum fee rate in PAC/kB for tx to be accepted. Is the maximum of minrelaytxfee and minimum mempool fee
"minrelaytxfee": xxxxx #(numeric) Current minimum relay fee for transactions
"instantsendlocks": xxxxx, #(numeric) Number of unconfirmed instant send locks
}

Running following help command

pacprotocol-cli help getmempoolinfo

Will produce following output:

getmempoolinfo
Returns details on the active state of the TX memory pool.
Result:
{
"size": xxxxx, (numeric) Current tx count
"bytes": xxxxx, (numeric) Sum of all tx sizes
"usage": xxxxx, (numeric) Total memory usage for the mempool
"maxmempool": xxxxx, (numeric) Maximum memory usage for the mempool
"mempoolminfee": xxxxx (numeric) Minimum fee rate in PAC/kB for tx to be accepted. Is the maximum of minrelaytxfee and minimum mempool fee
"minrelaytxfee": xxxxx (numeric) Current minimum relay fee for transactions
"instantsendlocks": xxxxx, (numeric) Number of unconfirmed instant send locks
}
Examples:
> pacprotocol-cli getmempoolinfo
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getmempoolinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:1111/