Cancel orders from a specific market.
cURL
curl --request DELETE \ --url https://poly.drive.markets/cancel-market-orders \ --header 'Content-Type: application/json' \ --header 'POLY-API-KEY: <poly-api-key>' \ --header 'POLY-NONCE: <poly-nonce>' \ --header 'POLY-SIGNATURE: <poly-signature>' \ --header 'POLY-TIMESTAMP: <poly-timestamp>' \ --data '{ "market": "<string>", "asset_id": "<string>" }'
{ "canceled": [ "<string>" ], "not_canceled": {} }
API key of the user
Request signature
Timestamp of the request
Request nonce
Condition ID of the market
ID of the asset/token
Cancellation response
List of canceled order IDs
Map of order ID to reason why it couldn't be canceled
Show child attributes