Skip to content
Alchemy Logo

estimatesmartfee

POST
/{apiKey}

Estimates the approximate fee per kilobyte required for a transaction to begin confirmation within conf_target blocks. Uses BIP 141 virtual transaction size.

Path Parameters

stringrequireddefaults to docs-demo

For higher throughput, create your own API key

Request

integerrequired

Number of blocks within which confirmation is targeted.

enumoptional

Fee estimate mode. Options are "UNSET", "ECONOMICAL", or "CONSERVATIVE".

Allowed values:

Responses

200

Estimated fee rate and corresponding target blocks.

Was this page helpful?