Mempool Fees

Retrieve statistics regarding the fee rates of transactions within estimated mempool blocks.

get

Retrieve stats for the projected blocks from the transactions in the mempool.

Authorizations
x-api-keystringRequired
Responses
200

Default Response

application/json
get
/v1/bitcoin/mempool/stats
GET /v1/bitcoin/mempool/stats HTTP/1.1
Host: api.secretkeylabs.io
x-api-key: YOUR_API_KEY
Accept: */*
{
  "currentBlockHeight": 1,
  "projectedBlocks": [
    {
      "height": 1,
      "weight": 1,
      "vbytes": 1,
      "txnCount": 1,
      "totalFeesSats": 1,
      "feeRates": {
        "min": 1,
        "max": 1,
        "avg": 1,
        "median": 1,
        "p75": 1,
        "p95": 1
      }
    }
  ]
}

Last updated