Estimate emergency exit fee
Estimates the on-chain cost of unilaterally (emergency) exiting a set of VTXOs without server cooperation. The breakdown separates the broadcast cost—CPFP-bumping every not-yet-confirmed transaction in each VTXO’s exit tree, paid from confirmed on-chain funds—from the claim cost of the single batched transaction that later drains the matured outputs. The estimate reflects current chain state, so exit transactions already confirmed cost nothing. The broadcast fee includes the fee_margin scaling and is the on-chain balance to fund the exit with at that margin; the wallet’s actual funds are never consulted.
Authorizations
Base64url-encoded auth token
Query Parameters
Comma-separated VTXO ids to exit; omit to exit the entire wallet
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
Claim destination address; omit to use a placeholder for weighing
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.
The fee for the single batched transaction that drains the matured exit outputs (in satoshis). Paid later out of the recovered value.
x >= 0The 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.
x >= 0The 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.
The sum of the broadcast and claim fees (in satoshis).
x >= 0The number of exit transactions that still need to be broadcast and CPFP-bumped.
x >= 0