Create a Gasless Order
The easiest way to create orders:Parameters
Your EOA wallet address
Smart wallet for wUSDT (optional)
YES or NO token ID
0 = BUY, 1 = SELLPrice in cents (1-99)
Amount in wei (1e18 = 1 token)
Market identifier
How to create and cancel orders
curl -X POST https://api-testnet.mayybee.com/api/orders/gasless \
-H "Content-Type: application/json" \
-d '{
"maker": "0xYourEOAAddress",
"smartWallet": "0xYourSmartWallet",
"tokenId": "25930605474857...",
"side": 0,
"price": 50,
"size": "10000000000000000000",
"marketId": "your-market-id"
}'
0 = BUY, 1 = SELL{
"success": true,
"orderId": "ord_abc123",
"matched": true,
"trades": [{
"id": "trade_xyz",
"price": 50,
"size": "10000000000000000000",
"txHash": "0x..."
}]
}
curl -X DELETE https://api-testnet.mayybee.com/api/orders/ord_abc123 \
-H "Content-Type: application/json" \
-d '{"maker": "0xYourWallet"}'
curl "https://api-testnet.mayybee.com/api/orders?maker=0xYourWallet"