Get compact block filters.
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
ApiKeyAuthApiKeyAuthX-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:
- Compact block filters are not configured on the KMD instance: requests fall through to the /api/ index handler and return HTTP 200 with the status object (live capture, both with scriptType=taproot and with an empty scriptType).
Parameters
scriptTypestringrequiredqueryScript type configured for block filters on this instance, for example taproot.
lastNinteger>= 1queryReturn filters for the last N blocks.
frominteger>= 0queryFirst block height in the requested range.
tointeger>= 0queryLast block height in the requested range. Defaults to the current best height when omitted.
Response
Block filters keyed by block height.
Missing or invalid API key (plain text).