Docs · method · EVM
eth_blockNumber
| Units per call | 1 (standard) |
|---|---|
| Cache | micro — 2 s, a hit costs 0 units |
| Rule | 1 unit; identical head polls within 2 seconds are served from our cache at 0 units (rate window still counts). |
| Chains | Ethereum Mainnet · Base Mainnet · Arbitrum One · OP Mainnet · Polygon PoS |
| Specification | https://ethereum.github.io/execution-apis/api-documentation/ |
Example
curl -s https://flexyield.io/rpc/eth_mainnet \
-H "Authorization: Bearer $FLEXYIELD_KEY" -H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"eth_blockNumber","params":[]}'
Questions
Is eth_blockNumber cached?
Yes, for 2 seconds — a hit costs 0 units.
All methods: methods and limits · docs · AI agents: the same call is the rpc_call MCP tool.