Skip to main content
This walks through the full path: find a market, pick an outcome, submit a market order, and read it back. Resource methods return the typed payload directly and throw a RequestError on any non-2xx response.
submitOrder attaches an idempotency key for you, so retrying a failed call won’t submit twice; pass your own with client.submitOrder(body, { idempotencyKey }) to make a specific retry idempotent. Order amounts are in USDC with a $1 minimum per order.