Last updated on January 1, 1970
1 min read
RPC Method (mempool) example for Bitcoin Cash
mempool
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
}
Previous
{ "overview": "Overview", "guides": "Guides", "get-started": "Get Started", "rpc-service": "Nodes Methods", "getblock-explorer": "Explorer API", "getblock-tracker": "Tracker API", "nodes-endpoints": "Nodes Endpoints" }
Next
{ "overview": "Overview", "guides": "Guides", "get-started": "Get Started", "rpc-service": "Nodes Methods", "getblock-explorer": "Explorer API", "getblock-tracker": "Tracker API", "nodes-endpoints": "Nodes Endpoints" }