v1

latestOpenAPI 3.0.02026-07-2224101.3 MB
BTC Mempool Statistics

BTC Memory pool Statistics by relative fee range

Mempool Statistics contains three metrics related to transactions waiting to be confirmed. You can see metrics for the number of transactions, the total amount of fees, and the aggregate size in bytes of transactions. Each metric was calculated based on fee level.

<br>

Supported Metrics

Metric TypeDescription
tx_count*The total number of unconfirmed transactions (Number)
total_sizeThe aggregated size in bytes of transactions (Megabyte)
total_feeThe total fee of unconfirmed transactions (BTC)

(*) Default

<br>

Supported Windows

Supported Windows
hour, day*

(*) Default

get/btc/mempool/stats-by-relative-fee

Query parameters

metric_typestring

A metric type derived from statistics. Supported formats are json, csv.

windowstring

Currently, we support day and hour.

fromstring

This defines the starting time for which data will be gathered, formatted as YYYYMMDDTHHMMSS (indicating YYYY-MM-DDTHH:MM:SS, UTC time). If window=day is used, it can also be formatted as YYYYMMDD (date). If window=block is used, you can also specify the exact block height (e.g. 510000). If this field is not specified, response will include data from the earliest time.

tostring

This defines the ending time for which data will be gathered, formatted as YYYYMMDDTHHMMSS (indicating YYYY-MM-DDTHH:MM:SS, UTC time). If window=day is used, it can also be formatted as YYYYMMDD (date). If window=block is used, you can also specify the exact block height (e.g. 510000). If this field is not specified, response will include data from the latest time.

limitinteger

The maximum number of entries to return before the latest data point (or before to if specified). This field ranges from 1 to 100,000.

formatstring

A format type about return message type. Supported formats are json, csv.

Response

BTC Mempool Stats by relative fee