Withdraw
Submit a signed withdrawal request. Requires EOA signature, see EOA signing.
The amount field is the raw token amount including decimals (e.g. "100000000" for 100 USDC). This must match the uint256 amount value used in the EIP-712 Withdraw signature.
The ts field is Unix seconds (not milliseconds) because the on-chain contract validates it against block.timestamp. It must also match the uint64 ts in the signed EIP-712 struct.
post/v1/account/withdraw
Request body
Example request
{
"op": {
"args": {
"account": "0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266",
"token": "0xaf88d065e77c8cc2239327c5edb3a432268e5831",
"amount": "100000000",
"to": "0x1234567890abcdef1234567890abcdef12345678"
}
},
"sig": "0x1234567890...",
"salt": 1234567890,
"ts": 1767225600000
}Response
The accepted withdrawal, carrying its withdraw_id.