Get the Canton Coin (CC) price
get_priceRetrieve the current Canton Coin (CC) USD price, query historical spot price at a given timestamp, or obtain OHLC data for a date range with hourly or daily intervals.
Instructions
Get the Canton Coin (CC) USD price. No arguments → current spot price. timestamp → historical spot at that moment. startDate+endDate → OHLC series (interval: "hourly" or "daily", default daily). Good for "what's the CC price trend over the past month?".
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_price"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | No | Chain to query. Defaults to "canton" (currently the only supported chain). | canton |
| endDate | No | History range end. | |
| interval | No | OHLC bucket size for range queries. | daily |
| startDate | No | History range start (use with endDate). | |
| timestamp | No | Historical spot price at this moment: ISO date, ISO datetime, or unix timestamp. |