curl --request POST \
--url https://api.example.com/api/v1/exits/claim/vtxos \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"destination": "<string>",
"vtxos": [
"<string>"
],
"fee_rate": 1
}
'{
"message": "<string>"
}Sweeps the specified claimable exit outputs into a single on-chain transaction sent to the specified address. Unlike progress, the daemon does not claim automatically—this endpoint must be called manually. Poll the status endpoint or call progress and check for done: true to know when VTXOs are ready to claim. This is the final step of the emergency exit process—the bitcoin is not considered back on-chain until this transaction confirms.
curl --request POST \
--url https://api.example.com/api/v1/exits/claim/vtxos \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"destination": "<string>",
"vtxos": [
"<string>"
],
"fee_rate": 1
}
'{
"message": "<string>"
}Documentation Index
Fetch the complete documentation index at: https://second.tech/docs/llms.txt
Use this file to discover all available pages before exploring further.
Base64url-encoded auth token
Exit claimed successfully
Was this page helpful?