从永续子账户提现 USDC
POST /v1/trading-gateway/withdraw:将 USDC 提现至外部地址。
POST /v1/trading-gateway/withdraw
将 USDC 提现至外部地址。Body:{ amount: string, toAddress: string, subAccountId?: string, totpCode: string }。上游 UserTOTPGuard 要求 totpCode;禁用 TOTP 的用户可以传入空字符串。返回 { amount, to, raw_data }。Minara 的提现监视器会从 raw_data.tx_hash(或嵌套的 raw_data.receipt.txHash)提取交易哈希。
| 方法 | POST |
| 路径 | /v1/trading-gateway/withdraw |
| 认证 | 设置 GATEWAY_AUTH_TOKEN 时需要 Authorization: Bearer <token> |
| 类别 | perps |
请求体
{ "amount": "50", "toAddress": "0xabcd...", "subAccountId": "sub_hl_default", "totpCode": "123456" }响应体
{ "amount": "50", "to": "0xabcd...", "raw_data": { } }