Skip to main content
POST
Presign emergency exit chains

Authorizations

Authorization
string
header
required

Base64url-encoded auth token

Body

application/json

Request body for presigning emergency exit chains.

fee_rate_sat_per_vb
number<double> | null

The fee rate to sign the CPFP children at, in sat/vB (fractions allowed). When omitted, the current fast rate is used.

vtxos
string[] | null

The IDs of the VTXOs to presign exit chains for, in the order they will be broadcast. When omitted, every spendable VTXO in the wallet is used.

Response

Returns the presigned exit packages

Presigned emergency-exit chains for a set of VTXOs: a wave-by-wave broadcast plan plus a per-VTXO summary.

Execute the plan in wave order: broadcast all of a wave's packages together, then wait for every one, and its in_mempool transactions, to confirm before the next wave — each wave's children spend change confirmed by the previous wave.

exits
object[]
required

One entry per requested VTXO, in request order.

waves
object[]
required

The broadcast plan. Confirmed transactions are omitted, relayed ones are listed in in_mempool, and a package shared by several exits appears once, under the first exit that references it.