Mempool
Get Mempool Info
This endpoint retrieves various information about the node's mempool, for the selected network.
GET https://api.whatsonchain.com/v1/<chain>/<network>/mempool/infoExample Request
curl --location --request GET "https://api.whatsonchain.com/v1/bsv/main/mempool/info"curl --location --request GET "https://api.whatsonchain.com/v1/btc/main/mempool/info"Example Response
{
"size": 4204,
"journalsize": 4194,
"nonfinalsize": 0,
"bytes": 4347584,
"usage": 10844944,
"usagedisk": 0,
"usagecpfp": 84170,
"nonfinalusage": 192,
"maxmempool": 16000000000,
"maxmempoolsizedisk": 0,
"maxmempoolsizecpfp": 1600000000,
"mempoolminfee": 0
}{
"loaded": true,
"size": 12960,
"bytes": 6856905,
"usage": 33532464,
"total_fee": 0.15068615,
"maxmempool": 300000000,
"mempoolminfee": 0.00001,
"minrelaytxfee": 0.00001,
"incrementalrelayfee": 0.00001,
"unbroadcastcount": 0,
"fullrbf": true
}URL Parameters
Parameter
Description
chain
Desired blockchain: bsv or btc.
network
Selected network: main or test.
Get Mempool Transactions
This endpoint retrieves a list of txIds from the node's mempool, for the selected network.
Example Request
Example Response
URL Parameters
Parameter
Description
chain
Desired blockchain: bsv or btc.
network
Selected network: main or test.
Last updated
Was this helpful?