Home

Get compact block filters.

GET
https://ethw-blockbook.nownodes.io/api/v2/block-filters

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Returns compact block filters for the script type configured on this Blockbook instance. Provide either lastN or a from/to range. When to is omitted for a range, the current best height is used.

Load estimate: High for wide ranges; work and payload grow linearly with the number of requested filters.

live-verified behavior:

  • Neither deployed build routes this path: requests fall through to the /api/ index handler and return HTTP 200 with the status object (live capture, both scriptType=taproot and empty).
  • Compact block filters are a Bitcoin-chain feature and are not configured on EthereumPoW.

Parameters

scriptTypestringrequiredquery

Script type configured for block filters on this instance, for example taproot.

lastNinteger>= 1query

Return filters for the last N blocks.

frominteger>= 0query

First block height in the requested range.

tointeger>= 0query

Last block height in the requested range. Defaults to the current best height when omitted.

Response

200OK

Block filters keyed by block height.

401Unauthorized

Missing or invalid API key (plain text).