Skip to main content
POST
private/batch_order

Authorizations

X-DeriveWallet
string
header
required

The wallet the request acts for.

X-DeriveTimestamp
string
header
required

The current time in milliseconds, as a decimal string.

X-DeriveSignature
string
header
required

EIP-191 signature of the timestamp, by the wallet or one of its session keys.

Body

application/json

private/batch_order params.

subaccount_id
integer<int64>
required
cancels
object[]

Open orders to cancel. orders and cancels hold 1 to 1000 items in total.

orders
object[]

Post-only limit orders, all with the same signer. An order with order_id_to_cancel or nonce_to_cancel replaces that order.

Response

Success

cancels
object[]
required
orders
object[]
required