aries_oracle_price
Read the current price from a Chainlink-style Alkanes oracle. Provide the oracle's alkane block, tx, and symbolId to receive priceE8, price, block info, and age.
Instructions
Read the latest price from a Chainlink-style Alkanes price-feed oracle (opcode 10 = GetPrice). Give the oracle alkane id {block,tx} and the symbolId. Returns priceE8 (raw 1e8-scaled u128), price (number), priceBlock, updatedBlock, and ageBlocks (vs current height). Needs a deployed price-feed instance — the feed is a template (see reference/oracles.md), so pass the id you want to read.
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": {
"block": "<block>",
"tx": "<tx>",
"symbolId": "<symbolId>"
},
"name": "aries_oracle_price"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tx | Yes | ||
| block | Yes | ||
| blockTag | No | ||
| symbolId | Yes | Symbol id registered in the feed (u32) |