market.oracle_gap
Use this tool to check whether a protocol pricing off Hyperliquid's raw mid (instead of mark/oracle) is currently exposed to a mid-price swing - the exact failure mode behind the 2026-10-10 Papertrade incident on HyperEVM. elevated is a fixed-threshold flag (abs(mid_oracle_gap_bp) >= alert_threshold_bp), not a manipulation determination. Single snapshot, no trade-flow/volume data (Hyperliquid doesn't expose it). Paid in USDC on Base.
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": {
"coin": "<coin>"
},
"name": "market.oracle_gap"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| coin | Yes | Hyperliquid perpetual ticker, e.g. ETH or BTC. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| coin | Yes | ||
| notice | No | ||
| elevated | Yes | True when abs(mid_oracle_gap_bp) >= alert_threshold_bp. A fixed-threshold boolean, not a manipulation determination - see notice. | |
| mid_price | No | ||
| mark_price | No | ||
| data_source | Yes | ||
| generated_at | Yes | ||
| oracle_price | No | ||
| mid_oracle_gap_bp | No | (mid_price - oracle_price) / oracle_price * 10000, in basis points. | |
| alert_threshold_bp | Yes | ||
| mark_oracle_gap_bp | No | (mark_price - oracle_price) / oracle_price * 10000, in basis points. |