DeepBook depth (on-chain)
get_book_depthLevel-2 depth around mid read on chain from a DeepBook v3 pool (bids/asks [price, qty]). 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": {
"pool": "<pool>"
},
"name": "get_book_depth"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pool | Yes | DeepBook pool BASE_QUOTE, e.g. SUI_USDC | |
| ticks | No |