Skip to main content
POST
/
2
/
pm
/
order
/
submit
Submit a signed V2 order to the CLOB
curl --request POST \
  --url https://demo-api.mobula.io/api/2/pm/order/submit \
  --header 'Content-Type: application/json' \
  --data '
{
  "order": {
    "salt": "<string>",
    "maker": "<string>",
    "signer": "<string>",
    "tokenId": "<string>",
    "makerAmount": "<string>",
    "takerAmount": "<string>",
    "side": "<string>",
    "signatureType": "<string>",
    "timestamp": "<string>",
    "metadata": "<string>",
    "builder": "<string>",
    "taker": "<string>",
    "expiration": "0"
  },
  "signature": "<string>",
  "apiKey": "<string>",
  "apiSecret": "<string>",
  "apiPassphrase": "<string>",
  "owner": "<string>",
  "orderType": "GTC"
}
'
{
  "hostname": "<string>",
  "took": 123,
  "data": "<unknown>"
}
Alpha — This endpoint is part of the Prediction Markets API, currently in early access. May change without notice.

Body

application/json
order
object
required
signature
string
required
Minimum string length: 1
apiKey
string
required
Minimum string length: 1
apiSecret
string
required
Minimum string length: 1
apiPassphrase
string
required
Minimum string length: 1
owner
string
orderType
enum<string>
default:GTC
Available options:
GTC,
GTD,
FOK,
FAK

Response

201 - application/json

Prediction Markets response

hostname
string
required
took
number
required
data
any | null

See the per-endpoint reference for the exact response shape.