Home

Estimate a fee target.

GET
https://maticbook.nownodes.io/api/v2/estimatefee/{blocks}

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Modified between 0.5.0 and 0.6.0: new mempoolspacemedian alternative fee estimation option (server configuration); fee estimates lower than 1 sat/vB can be returned. Response shape unchanged. Documented as it exists in 0.6.0.

Returns backend fee estimation for the requested confirmation target.

Load estimate: Low; a small backend fee estimate lookup.

Parameters

blocksinteger>= 1requiredpath

Confirmation target in blocks.

conservativebooleantruequery

Use conservative smart fee estimation where supported.

Response

200OK

HTTP 200 Polygon Blockbook response for estimateFee.

400Bad Request

Domain or validation error. JSON body {"error": "..."}.

401Unauthorized

Unauthorized: missing or invalid api-key header. The NOWNodes gateway returns the plain-text body "Unknown API_key".

405Method Not Allowed

Method Not Allowed: gateway-level response for unknown routes.

500Internal Server Error

Internal Server Error. JSON body {"error":"Internal server error"}.