Skip to main content
POST
Settle a delegated batch.

Body

application/json
cosigner_pk
string
required

Hex-encoded compressed cosigner public key (must match our static key).

forfeit_psbts
string[]
required

List of base64-encoded partial forfeit PSBTs (signed with SIGHASH_ALL|ANYONECANPAY).

intent_message
string
required

JSON-encoded IntentMessage.

intent_proof
string
required

Base64-encoded intent proof PSBT (signed by the VTXO owner).

preimage
string | null

Optional hex-encoded preimage (the HTLC secret). Required together with swap_id.

swap_id
string | null

Optional swap ID. When provided alongside preimage, the backend marks the swap as ClientRedeemed so the EVM claimer can proceed.

Response

Settlement completed

commitment_txid
string
required

Commitment transaction ID from the batch settlement.