Skip to main content
The SDK accepts enum names or exported numeric constants and validates integer widths. It does not validate market tick, notional, balance, or live-book conditions locally; write simulation handles contract validation.

Packed replacement

cancelBySlots builds an empty-order batch; cancelAllOrders calls the dedicated entrypoint. Read the current getOrderId before submitting asynchronous slot operations. protocolCancelBySlots and its request builder are exported but require the contract’s protocol cancellation authority. Ordinary applications should not call them.