Get DeepBook mid price
read_get_deepbook_mid_priceRetrieve a DeepBook pool's mid-price snapshot using its pool key to support pre-trade pricing checks.
Instructions
Return a DeepBook pool mid-price snapshot. Not price impact, route quality, global market price, fiat cash-out, transaction building, or signing readiness.
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": {
"poolKey": "<poolKey>"
},
"name": "read_get_deepbook_mid_price"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| poolKey | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | Yes |