Alpha — This endpoint is part of the Prediction Markets API, currently in early access. May change without notice.
Request Body
The CLOB order ID to cancel (returned when the order was submitted).
The wallet address that placed the order.
CLOB API key (obtained from Auth Derive).
CLOB API secret (obtained from Auth Derive).
CLOB API passphrase (obtained from Auth Derive).
Response
CLOB cancellation response.
Array of order IDs that were successfully canceled.
Array of order IDs that could not be canceled.
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"
}'