Skip to main content
Alpha — This endpoint is part of the Prediction Markets API, currently in early access. May change without notice.

Request Body

orderId
string
required
The CLOB order ID to cancel (returned when the order was submitted).
address
string
required
The wallet address that placed the order.
apiKey
string
required
CLOB API key (obtained from Auth Derive).
apiSecret
string
required
CLOB API secret (obtained from Auth Derive).
apiPassphrase
string
required
CLOB API passphrase (obtained from Auth Derive).

Response

data
object
CLOB cancellation response.
hostname
string
Server node identifier.
took
number
Request processing time in milliseconds.

Usage Example

curl -X POST "https://api.mobula.io/api/2/pm/order/cancel" \
  -H "Content-Type: application/json" \
  -d '{
    "orderId": "0xabc123...",
    "address": "0xYourWalletAddress",
    "apiKey": "your-clob-api-key",
    "apiSecret": "your-clob-api-secret",
    "apiPassphrase": "your-clob-passphrase"
  }'