Epoch info
epoch_infoRetrieve current epoch, slot index, slots in epoch, absolute slot, and block height from a Solana RPC endpoint.
Instructions
Current epoch, slot index / slots-in-epoch, absolute slot, and block height.
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": "epoch_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | RPC URL (default: SOLANA_RPC_URL, else public mainnet-beta) |