Get hashprice
get_hashpriceRetrieve the current hashprice in USD or BTC from the on-chain oracle. Get live data for market analysis or order simulation.
Instructions
Read the on-chain hashprice oracle via AggregatorV3 latestRoundData().
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_hashprice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pair | No | HashpriceUSD (trading) or HashpriceBTC | usd |