Skip to main content

getmempoolinfo

Overview

The 'getmempoolinfo' Returns information about the active state of the TX memory pool.

Request

wget --no-check-certificate --quiet \
--method POST \
--timeout=0 \
--header 'Content-Type: application/json' \
--header 'accept: application/json' \
--header 'X-CoinAPI-Key: 73034021-THIS-IS-SAMPLE-KE' \
--body-data '{"jsonrpc":"1.0","id":1,"method":"getmempoolinfo","params": [ ]}' \
'https://bitcoin-mainnet.node.coinapi.io'

Request Parameters

This method does not require any parameters.

Response

{
"jsonrpc": "2.0",
"id": 1,
"result": 1234567.890123
}

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