Fee Estimates
resource: fee — sat/vB fee rates by confirmation target
getEstimates
Returns fee-rate estimates across a range of confirmation targets. Real Esplora returns a flat
dictionary keyed by string confirmation-target ({"1": 1.25, "2": 1.25, ..., "1008": 0.7});
this node transforms that into a more workflow-friendly array.
| Field | Type | Required | Description |
|---|---|---|---|
network | select | No | Defaults to Bitcoin:DefaultNetwork. |
Example response:
{
"feeRatesByConfirmationTarget": [
{ "blocks": 1, "satVb": 12.5 },
{ "blocks": 3, "satVb": 8.2 },
{ "blocks": 6, "satVb": 4.1 },
{ "blocks": 144, "satVb": 1.25 },
{ "blocks": 1008,"satVb": 0.7 }
]
}
| Response Field | Meaning |
|---|---|
blocks | Confirmation target — how many blocks out you're willing to wait. |
satVb | Estimated fee rate in satoshis per virtual byte for that target. Fractional, not integer — real network fee rates are rarely whole numbers. |
Used automatically by psbt/build: If you don't supply
feeRateSatVb on
psbt/build, it consults this same estimate internally and
uses the fastest (lowest-numbered) confirmation target's rate — falling back to a conservative default
of 10 sat/vB if no estimate is available. Call fee/getEstimates directly when you want to
choose a specific target yourself (e.g. a cheaper 6-block or 144-block rate) before building.