POST /v1/withdraw1{ "user": "0xAb58…", "amount": 25000000, "nonce": 44, "signature": "0x…" }
body useraddressrequiredbody amountintegerrequiredbody nonceuint64requiredbody signaturestringrequiredWithdrawalRequest.owed(user), and collect(user)
then sends it to the account's own address. The exchange calls collect for
every payout it executes; anyone else may too. See
Funding.1{ "pending": false, "requestNonce": 44, "amount": "25000000", "record": 55121, "paid": false }
| Field | Meaning |
requestNonce | Your request's nonce: how you find this withdrawal again. |
amount | micro-USDC, a decimal string. |
record | The payout's index in the sequence the contract executes, the numbering its lastFill() counts in; null until the exchange has numbered it. |
pending | true until record is set. |
paid | true once the contract has executed through record: the amount is then in owed(user), and collect sends it on. |
withdrawal and signature, left from the signed
withdrawal the contract no longer accepts; ignore them.202 with
"pending": true; find it later in GET /v1/withdrawals/{user} by
requestNonce.INSUFFICIENT_CASH, or a nonce code) is a 422
whose error is the code.safe head does not cover is answered
202 with "held": true and a reason. The gateway holds it, unsequenced
and its nonce unspent, and sends it once those deposits are safe.GET /v1/withdrawals/{user} lists the account's
withdrawals.