curl --request POST \
--url https://api.example.com/api/v1/wallet/offboard/all \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"address": "<string>"
}
'{
"offboard_txid": "<string>"
}Cooperatively moves all spendable VTXOs off the Ark protocol to an on-chain address. Each VTXO is offboarded in full—partial amounts are not supported. The on-chain transaction fee is deducted from the total, and the remaining amount is sent to the destination. If no address is specified, the wallet generates a new on-chain address. To send a specific amount on-chain, use send-onchain instead.
curl --request POST \
--url https://api.example.com/api/v1/wallet/offboard/all \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"address": "<string>"
}
'{
"offboard_txid": "<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
Optional Bitcoin address to send to. If not provided, uses the onchain wallet's address
Returns the offboard transaction id
The transaction id of the offboard transaction
Was this page helpful?