getBlockHeights
Retrieve all block heights for the Somnia chain within a specified date range to analyze blockchain activity.
Instructions
Get all block heights between two dates
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": {
"chainName": "<chainName>",
"startDate": "<startDate>",
"endDate": "<endDate>",
"authToken": "<authToken>"
},
"name": "getBlockHeights"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endDate | Yes | End date in YYYY-MM-DD format | |
| authToken | Yes | Authorization token for accessing the Somnia API | |
| chainName | Yes | ||
| startDate | Yes | Start date in YYYY-MM-DD format |