Build: withdraw from my BalanceManager
build_bm_withdraw_txWithdraw a coin from your own BalanceManager back to your address (always to the owner). 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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"sender": "<sender>",
"balance_manager_id": "<balance_manager_id>",
"coin": "<coin>",
"amount": "<amount>"
},
"name": "build_bm_withdraw_tx"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| coin | Yes | Coin symbol: SUI, USDC, WAL, DEEP, CETUS | |
| amount | Yes | Amount of the from coin in human units, e.g. 2.5 | |
| sender | Yes | YOUR Sui address (0x...). Public address only; never send a key. | |
| balance_manager_id | Yes | YOUR DeepBook BalanceManager id (0x + 64 hex), from build_create_balance_manager_tx effects |