Last updated on January 1, 1970

1 min read

Method mempool undefined ()
connect with REST protocol

mempool

info-circle-fill

Returns various information about the TX mempool. Only supports JSON as output format. Refer to the getmempoolinfo RPC for documentation of the fields.

bch:mempool [GET]

Returns various information about the TX mempool. Only supports JSON as output format. Refer to the getmempoolinfo RPC for documentation of the fields.

Example

GET /rest/mempool/info.json

Request

curl --location --request GET 'https://bch.getblock.io/mainnet/rest/mempool/info.json' \
--header 'x-api-key: YOUR-API-KEY' \
--header 'Content-Type: application/json'

Response

{
    "loaded": true,
    "size": 119074, 
    "bytes": 79930801, 
    "usage": 299999008, 
    "maxmempool": 300000000, 
    "mempoolminfee": 0.00020734,
    "minrelaytxfee": 0.00001000,
    "unbroadcastcount": 0
}
banner icon

Start Building with GetBlock RPCs for Free