Skip to main content
POST
/
v2
/
billing
/
withdraw
Withdraw
curl --request POST \
  --url https://api.tusky.io/v2/billing/withdraw \
  --header 'Content-Type: application/json' \
  --data '
{
  "token": "<string>",
  "amount": "<string>",
  "destination": "<string>"
}
'
{
  "txHash": "<string>",
  "token": "<string>",
  "amount": "<string>",
  "destination": "<string>",
  "newBalance": "<string>"
}
Withdraw SUI or WAL tokens from your managed wallet to an external Sui wallet address.

Request Body

token
string
required
Token to withdraw: sui or wal.
amount
string
required
Amount to withdraw (e.g., "10.0").
destination
string
required
Destination Sui wallet address.

Response

txHash
string
Sui blockchain transaction hash.
token
string
Token withdrawn.
amount
string
Amount withdrawn.
destination
string
Destination address.
newBalance
string
Remaining balance of the withdrawn token.

Example

curl -X POST https://api.tusky.io/v2/billing/withdraw \
  -H "Api-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "token": "sui",
    "amount": "10.0",
    "destination": "0xabcdef1234567890abcdef1234567890abcdef12"
  }'

Response

{
  "txHash": "0x9f8e7d6c5b4a3210...",
  "token": "sui",
  "amount": "10.0",
  "destination": "0xabcdef1234567890abcdef1234567890abcdef12",
  "newBalance": "35.2"
}
Ensure sufficient balance remains for ongoing storage operations and upcoming epoch renewals. Withdrawing too much may cause upload failures or missed auto-extend renewals.