Withdraw SUI or WAL tokens from your managed wallet to an external Sui wallet address.
Request Body
Token to withdraw: sui or wal.
Amount to withdraw (e.g., "10.0").
Destination Sui wallet address.
Response
Sui blockchain transaction hash.
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.