cURL
curl --request POST \ --url https://demo-api.mobula.io/api/2/pm/order/build \ --header 'Content-Type: application/json' \ --data ' { "maker": "<string>", "tokenId": "<string>", "side": "BUY", "price": 123, "size": 123, "signer": "<string>", "isNegRisk": false, "feeRateBps": 0, "nonce": 0, "expiration": 0, "tickSize": 123, "signatureType": 0 } '
{ "data": { "typedData": {}, "tickSize": 123, "feeRateBps": 123, "safeAddress": "<string>" }, "hostname": "<string>", "took": 123 }
Build an EIP-712 order for signing. Returns typed data that must be signed by the maker’s wallet before submission.
Maker wallet address
Outcome token ID
BUY
SELL
Price (0-1)
Trade size in shares
Optional signer address
Order typed data
Show child attributes