Skip to main content
DELETE
Cancel Orders
Request Weight: 1 + floor(n / 20) Action Weight: 0

Body

application/json

Cancel request.

op
object
required
sig
string
required

Signature in hex format

Example:

"0x1234567890..."

salt
integer
required

Salt

Example:

1234567890

ts
integer
required

Request timestamp. Unix milliseconds for most operations; Unix seconds for withdrawals (must match the on-chain EIP-712 struct verified against block.timestamp).

Example:

1767225600000

exp
integer

Command-processing deadline in Unix milliseconds, not an order auto-cancel time; the server caps it at now + 5 s, clamps larger values to that cap, and uses that 5 s default when omitted. Values at or before the server's clock are rejected with HTTP 400 (command expired).

Example:

1767225600000

Response

Cancel response.

status
enum<string>
required
Available options:
ok
oid
integer
required

Order ID

Example:

1234567890

ts
integer
required

The time when the exchange decided this cancellation outcome, in Unix milliseconds. Sequenced outcomes use the exchange event time. Rejections created before sequencing use the gateway’s decision time. This is not the client request timestamp.

Example:

1767225600000

coid
string

Echoed only when the request carried a client_order_id.

Required string length: 32
Pattern: ^[0-9a-f]{32}$
Example:

"550e8400e29b41d4a716446655440000"