{
"success": true,
"orderId": "ord_1704067200_abc123",
"matched": true,
"tradesCount": 1,
"message": "Order created without user signature!"
}Submit a new order without any user signature. The backend signs and executes the order on behalf of the user.
{
"success": true,
"orderId": "ord_1704067200_abc123",
"matched": true,
"tradesCount": 1,
"message": "Order created without user signature!"
}Input for creating a gasless order. The backend signs and executes the order on behalf of the user - no wallet signature required!
Your EOA wallet address. This address holds ERC1155 outcome tokens (for SELL orders) or receives them (for BUY orders).
"0x7aDB49aE5DF789EE9B9F82614609967cCe4eE23d"
ERC1155 token ID for the outcome token you want to trade. This is a large integer (up to 78 digits) as a decimal string.
"25930605474857043641926317989588861972412542680030529942514995269236952683597"
Order direction. 0 = BUY (pay collateral, receive outcome tokens). 1 = SELL (sell outcome tokens, receive collateral).
0, 1 0
Price per token in cents (1-99). Prediction market prices represent probability. 50 cents = 50% implied probability.
1 <= x <= 9950
Number of tokens in wei (18 decimals). Example: '10000000000000000000' = 10 tokens. Min: 0.1 tokens. Max: 1M tokens.
"10000000000000000000"
Market identifier from Convex database. This routes your order to the correct orderbook.
"jd7ay8vzqtcsyj48zyapp6aa9h7yfq2d"
Your Smart Wallet address (optional). For hybrid model: Smart Wallet holds wUSDT collateral while EOA holds ERC1155 tokens.
"0x1234567890abcdef1234567890abcdef12345678"
Order created successfully
Response returned after creating a gasless order. Contains order ID and matching status.
Whether the order was successfully created and added to the orderbook. True even if not immediately matched.
Unique order identifier in format ord_{timestamp}_{random}. Use this to track or cancel the order.
"ord_1704067200_abc123"
Whether the order was immediately matched against existing orders. If false, order sits in orderbook.
Number of trades executed if order was matched. 0 if order is resting in orderbook.
x >= 0Human-readable status message describing what happened.