Spot withdraw — preview / execute
POST /v1/wallet/withdraw/spot — Preview a cross-chain spot withdraw (`confirm: false`) or execute it (`confirm: true`, with `quoteHash` + `idempotencyKe
POST /v1/wallet/withdraw/spot
Preview a cross-chain spot withdraw (confirm: false) or execute it (confirm: true, with quoteHash + idempotencyKey echoed from the preview). Execute needs the on-chain tokenAddress, which the caller reads off the user's spot holdings. The preview reports which second factor the execute call must carry in verification (totp or email); send the six-digit code as totpCode or emailCode accordingly. Request a mailed code from POST /v1/security/email-code.
| Method | POST |
| Path | /v1/wallet/withdraw/spot |
| Auth | Authorization: Bearer <token> required when GATEWAY_AUTH_TOKEN is set |
| Category | perps |
Request body
{ "confirm": false, "token": "USDC", "chain": "arbitrum", "address": "0x...", "amount": "10.5", "tokenAddress": "0x..." }