check_chain
Fetch live gas prices or latest block details on Base or Ethereum via public RPC, no API key or aggregator required.
Instructions
Check live on-chain data for Base or Ethereum: current gas price (gas_price) or the latest known block — number, timestamp, hash (latest_block). Read live via a public RPC endpoint, no API key, no aggregator. $0.005 per check.
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": {
"metric": "<metric>",
"chain": "<chain>"
},
"name": "check_chain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | Yes | Which EVM chain to read. | |
| metric | Yes | Which on-chain data point to fetch. |