PUBLISH Cancel Order
Request
Field
Type
Required
Description
op
string
Yes
Operation code: cancel_order
data.order_id
string
Yes
Order ID to be cancelled. Example: 0x4c43e0ab72a4edb72dfe4b129148899815d816837b9a7e22d964b884834639f8
id
integer
No
Request ID, an arbitrary integer to link requests with responses. Example: 1
Example
{
"id": 1,
"op": "cancel_order",
"data": {
"order_id": "0xa907d8c3037289f5b38c94760c06ae436566e600884d09cbeee2ef2c64b2695d"
}
}Response
Field
Type
Required
Description
data.order_id
string
Yes
Order ID is the hash of the order payload. Example: 0x4c43e0ab72a4edb72dfe4b129148899815d816837b9a7e22d964b884834639f8
data.success
boolean
Yes
True if cancel is successful.
id
integer
No
Response ID, an arbitrary integer to link requests with responses. Example: 1
Example
Last updated
Was this helpful?

