prediction.hip4_price
Look up the closest HIP-4 strike rung for a crypto asset's price-binary market from cached data. Compare matched_strike to your target; a gap means no nearby rung.
Instructions
Cheap-tier single-rung lookup: reuses prediction.hip4_price_ladder's
cached data and returns only the one rung whose strike is closest to
the requested strike (no new upstream call). Always check
matched_strike against your requested strike - a large gap means no
rung exists near your target, not an exact match. Use
prediction.hip4_price_ladder instead if you need the whole ladder.
Args:
underlying: Asset symbol for crypto price-binary markets (e.g. "BTC",
"ETH", "SOL", "HYPE").
strike: Target price level to find the closest HIP-4 rung for.
Returns:
On success: {"success": true, "underlying", "requested_strike",
"matched_strike", "yes_price", "expiry", ...}
On failure: {"success": false, "error": {"type", "message"}}
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": {
"underlying": "<underlying>",
"strike": "<strike>"
},
"name": "prediction.hip4_price"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| strike | Yes | ||
| underlying | Yes |