Skip to main content
GET
Estimate emergency exit fee

Authorizations

Authorization
string
header
required

Base64url-encoded auth token

Query Parameters

vtxo_ids
string

Comma-separated VTXO ids to exit; omit to exit the entire wallet

fee_rate_sat_per_vb
number<double>

Fee rate in sat/vB (fractions allowed) applied to both legs; omit to price the broadcast leg at the current fast rate and the claim leg at the regular rate

destination
string

Claim destination address; omit to use a placeholder for weighing

fee_margin
number<double>

Scales the broadcast leg to cover feerate movement and UTXO consolidation; must be finite and non-negative, defaults to 1.2

Response

Returns the emergency exit fee breakdown

A fee breakdown for unilaterally (emergency) exiting a set of VTXOs.

claim_fee_sat
integer<int64>
required

The fee for the single batched transaction that drains the matured exit outputs (in satoshis). Paid later out of the recovered value.

Required range: x >= 0
exit_broadcast_fee_sat
integer<int64>
required

The CPFP fees to broadcast every not-yet-confirmed exit transaction (in satoshis), including the fee margin. Paid from confirmed on-chain funds; this is the on-chain balance to fund the exit with at the chosen margin.

Required range: x >= 0
fee_rate_sat_per_vb
number<double>
required

The fee rate the exit-broadcast leg was priced at (sat/vB), before the fee margin. Unless an explicit fee rate was supplied, the claim leg is priced separately at the chain's regular rate.

total_fee_sat
integer<int64>
required

The sum of the broadcast and claim fees (in satoshis).

Required range: x >= 0
txs_to_broadcast
integer
required

The number of exit transactions that still need to be broadcast and CPFP-bumped.

Required range: x >= 0