Skip to main content
POST
/
api
/
v1
/
wallet
/
send-onchain
Send on-chain from Ark balance
curl --request POST \
  --url https://api.example.com/api/v1/wallet/send-onchain \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "amount_sat": 1,
  "destination": "<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.

Authorizations

Authorization
string
header
required

Base64url-encoded auth token

Body

application/json
amount_sat
integer<int64>
required

The amount (in satoshis) to be received by destination onchain. Must be

= P2TR_DUST [blocked]. Server-configured fees laid out in OffboardFees [blocked] will be added on top of this amount.

Required range: x >= 0
destination
string
required

The destination Bitcoin address

Response

Returns the offboard transaction id

offboard_txid
string
required

The transaction id of the offboard transaction