Mempool

Get Mempool Info

This endpoint retrieves various information about the node's mempool, for the selected network.

HTTP Request
GET https://api.whatsonchain.com/v1/bsv/<network>/mempool/info
cURL
curl --location --request GET "https://api.whatsonchain.com/v1/bsv/main/mempool/info"
Response JSON structure
{
    "bytes": 444832,
    "maxmempool": 8196000000,
    "mempoolminfee": 0,
    "size": 142,
    "usage": 647072
}

URL Parameters

ParameterDescription

network

The selected network: main, test, or stn.

Get Mempool Transactions

This endpoint retrieves a list of txIds from the node's mempool, for the selected network.

HTTP Request
GET https://api.whatsonchain.com/v1/bsv/<network>/mempool/raw
cURL
curl --location --request GET "https://api.whatsonchain.com/v1/bsv/main/mempool/raw"
Response JSON structure
[
    "0b0911bcb1f762634ed3ee171694d68049420c730296a7a592b29d46919c7739", 
    "195c95162a7f73f2ff9d4a5d8894f63ec44712b3b69fe1c3e53464048c6a39e3",
    ...
]

URL Parameters

ParameterDescription

network

The selected network: main, test, or stn.

Last updated