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 now 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. fundable is false when the wallet’s confirmed on-chain balance can’t cover the full broadcast walk, which would stall the exit midway.
Authorizations
Base64url-encoded auth token
Query Parameters
Comma-separated VTXO ids to exit; omit to exit the entire wallet
Fee rate in sat/vB applied to both legs; omit to price the broadcast leg at the current fast rate and the claim leg at the regular rate
x >= 0Claim destination address; omit to use a placeholder for weighing
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). Paid now from confirmed on-chain funds.
x >= 0The fee rate the exit-broadcast leg was priced at (sat/vB). Unless an explicit fee rate was
supplied, the claim leg is priced separately at the chain's regular rate.
x >= 0Whether the wallet's current on-chain balance covers the full serial exit-broadcast walk.
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