MTF: Cancel MTF Order
Returns a list of executed Trades of the last 10 minutes for a given market.
Returns a list of executed Trades of the last 10 minutes for a given market.
Note: Use the "Get DEX Markets" end-point for an overview of all available markets.
Authorizations
Body
objectOptionalExample:
{"order_ids":["c0c33fd270444d308e63e343970c7c15"]}Responses
200
OK
application/json
Responseobject
post
/api/v1/mtf/cancelPOST /api/v1/api/v1/mtf/cancel HTTP/1.1
Host: api.hybrid-chain.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 50
{
"order_ids": [
"c0c33fd270444d308e63e343970c7c15"
]
}200
OK
{
"response": {
"ec6f4f27b87f4b9986b0f127e3c19add": {
"exec_time_ms": 134.6401683986187,
"message": "The following update on model mtf.order has been completed",
"payload": {
"environment_tag": "mtf_uat_odoo",
"model": "mtf.order",
"operation": "create",
"record": {
"cancellation_attempted": true,
"market_id": 7,
"matching_engine_client_id": 774321,
"order_uuid": "ec6f4f27b87f4b9986b0f127e3c19add",
"pmx_id": "CO+iDHWLQl0="
}
},
"success": true,
"update": {
"cancellation_attempted": true,
"market_id": 7,
"matching_engine_client_id": 774321,
"pmx_id": "CO+iDHWLQl0="
}
}
},
"success": true
}Last updated
Was this helpful?

