curl --request GET \
--url https://api.example.com/api/v1/fees/offboard-all \
--header 'Authorization: Bearer <token>'{
"fee_sat": 1,
"gross_amount_sat": 1,
"net_amount_sat": 1,
"vtxos_spent": [
"<string>"
]
}Estimates the fee for offboarding the entire Ark balance to the given on-chain address. The gross amount is the total spendable balance, and the net amount is what the user receives on-chain after fees. The fee depends on the destination address type, current fee rates, and VTXO expiry.
curl --request GET \
--url https://api.example.com/api/v1/fees/offboard-all \
--header 'Authorization: Bearer <token>'{
"fee_sat": 1,
"gross_amount_sat": 1,
"net_amount_sat": 1,
"vtxos_spent": [
"<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
The destination Bitcoin address
Returns the fee estimate
A fee estimate for an Ark wallet operation.
The fee portion (in satoshis)
x >= 0The total amount including fees (in satoshis)
x >= 0The amount excluding fees (in satoshis). For sends, this is the amount the recipient receives. For receives, this is the amount the user gets.
x >= 0The VTXOs that would be spent for this operation
Was this page helpful?