Get compact block filters.
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Returns compact block filters for the configured script type. Provide either lastN or a from/to range. When to is omitted for a range, the current best height is used.
Compact block filters are not currently enabled on the NOWNodes Qtum endpoint. Requests succeed and return the requested heights with their block hashes, but each filter value comes back empty. Send scriptType empty, as no script type is configured.
Load estimate: High for wide ranges; work and payload grow linearly with the number of requested filters.
Parameters
scriptTypestringrequiredqueryScript type used for block filters. No script type is configured on the NOWNodes Qtum endpoint, so send this parameter empty.
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.
Bad Request
Unauthorized. Returned when the api-key header is missing, empty, or not accepted by the NOWNodes gateway. The body is plain text.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Unprocessable Entity. Returned by the NOWNodes gateway for requests it accepts but cannot process. The body is plain text.
Internal Server Error
Service Unavailable
Public API error.