Place order

Submit order to on-chain book. Gas sponsored by API service.

Signature: Signer signs VerifySignature with hash = keccak256(encodedOrderData)

Order Encoding (47 bytes):

bytes[0:8]   = marketId (uint64, big-endian)
bytes[8:24]  = size (uint128, big-endian)
bytes[24:40] = price (uint128, big-endian)
bytes[40]    = flags: bit0=side, bit1=postOnly, bit2=reduceOnly, bit3-4=stpMode
bytes[41]    = orderType (0=Limit, 1=Market)
bytes[42]    = timeInForce (0=GTC, 1=GTT, 2=FOK, 3=IOC)
bytes[43:47] = expiry (uint32, big-endian)
Language
Click Try It! to start a request and see the response here!