Skip to main content

getmempoolinfo RPC Method

Returns information about the active state of the TX memory pool.

Updated on
Oct 4, 2023

getmempoolinfo RPC Method

Parameters

This method does not accept any parameters

Returns

result
The result is a JSON object with the following fields:
loaded
It's true if the mempool is fully loaded otherwise false
size
The current transaction count
bytes
The sum of all virtual transaction sizes as defined in BIP 141. Differs from actual serialized size because witness data is discounted
usage
Total memory usage for the mempool
total_fee
The total fees for the mempool in BTC, ignoring modified fees through prioritisetransaction
maxmempool
Maximum memory usage for the mempool
mempoolminfee
Minimum fee rate in BTC/kB for tx to be accepted
minrelaytxfee
Current minimum relay fee for transactions
incrementalrelayfee
The minimum fee rate increment for mempool limiting or replacement in BTC/kvB
unbroadcastcount
Current number of transactions that haven't passed initial broadcast yet
fullrbf
It's true if the mempool accepts RBF without replaceability signaling inspection otherwise false
error
The error message, if any
Request
1
curl https://docs-demo.btc.quiknode.pro/ \
2
-X POST \
3
-H "Content-Type: application/json" \
4
--data '{ "method": "getmempoolinfo" }'
5
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free