Build: cancel DeepBook order(s)
build_cancel_order_txCancel one order (order_id) or all your orders in a pool, and withdraw settled amounts into your BalanceManager. Returns UNSIGNED tx bytes (simulated against mainnet). Non-custodial: the desk never sees or holds keys and never moves funds; it returns quotes and UNSIGNED transactions only. Spot only, no leverage. Education only, not financial advice.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pool | Yes | DeepBook pool BASE_QUOTE, e.g. SUI_USDC | |
| sender | Yes | YOUR Sui address (0x...). Public address only; never send a key. | |
| order_id | No | ||
| balance_manager_id | Yes | YOUR DeepBook BalanceManager id (0x + 64 hex), from build_create_balance_manager_tx effects |