Skip to main content
POST
Queue a withdrawal to an external address.

Authorizations

Authorization
string
header
required

Session token from POST /auth/login.

Body

application/json
amount
string
required

A token or USDC amount, scaled by 1e6.

USDC and outcome tokens both have 6 decimals, so 5000000 is 5 tokens or 5 USDC.

Responses encode amounts as 0x-prefixed hex (5000000 is "0x4c4b40"); requests also accept decimal strings and JSON numbers.

asset
object
required
client_withdrawal_id
string<uuid>
required

Client-chosen idempotency key, unique per user. Retrying with the same id can never queue a second withdrawal.

recipient
string
required

Response

status
enum<string>
required
Available options:
Queued,
Pending,
Confirmed,
Failed
withdrawal_id
string<uuid>
required

Globally unique. A replayed client_withdrawal_id returns the original id.