eth-block
Fetch an Ethereum block header and transaction hashes using block number, hex string, or tag. Supports Ethereum, Base, Polygon, and Arbitrum.
Instructions
Returns an Ethereum block header and transaction hashes by block number, hex string, or tag (latest/pending/earliest/safe/finalized). Fields: block_number, hash, parent_hash, miner, timestamp_iso, gas_used, gas_limit, base_fee_gwei (EIP-1559), tx_count, transaction_hashes. Supports Ethereum (default), Base, Polygon, and Arbitrum. $0.004/call.
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": "eth-block"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| number | No | Block number as an integer, 0x-prefixed hex, or tag: latest/pending/earliest/safe/finalized. Defaults to latest. | |
| network | No | Chain to query. Default: ethereum. |