Cancel And Place
Performs an order cancellation + order placement in a single request
Rate limits
The sum of Cancel Orders + Place Order limits
See more details in API Rate limits.
Request
Request Parameters
cancel_tx
object
Yes
cancel_tx.sender
string
Yes
Hex string representing the subaccount's 32 bytes (address + subaccount name) of the tx sender.
cancel_tx.productIds
number[]
Yes
A list of product IDs, corresponding to the product ids of the orders in digests
cancel_tx.digests
string[]
Yes
A list of order digests, represented as hex strings.
cancel_tx.nonce
string
Yes
cancel_signature
string
Yes
place_order
object
Yes
Signing
Note: both cancel_tx
and place_order
objects must be signed using the same signer, otherwise the request will be rejected.
See Cancel orders signing for details on how to sign the order cancellation.
See Place order signing for details on how to sign the order placement.
Response
Success
Failure
Last updated