1. Read Market Trading Limits
First query the Market and select the Token to trade fromoutcomes[].token_id:
cURL
cURL
min_order_size and tick_size from the response.
2. Submit an Order
cURL
Use a Broker API Key and pass a wallet address that belongs to your Broker in
X-User-Wallet-Address. Calculate SIGN from the actual request method, path, query string, and body. See Broker API key and signing and Access on behalf of a user.Request Fields
Accepted Response
processing means the order request has been accepted for processing; it does not mean the order has been filled. Query the order to check its current REST status.
Pre-Order Checks
- The Market must have
accepting_orders: true. token_idshould come from the Market’soutcomesarray.sizemust satisfymin_order_size.pricemust conform totick_size.- Prices, quantities, and amounts should always be represented as strings to avoid floating-point precision issues.
- Private requests must use the official authentication scheme.