For the complete documentation index, see llms.txt. This page is also available as Markdown.

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/<chain>/<network>/mempool/info

Example Request

curl --location --request GET "https://api.whatsonchain.com/v1/bsv/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
}

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