Latest Block Number on an EVM Chain
evmrpc/block-number
The newest block number of an EVM chain right now, as a decimal number and as the node's hex. Read from public nodes that offer no SLA and can be slow, throttled or a block behind; a failing node is replaced by another operator's automatically. Served by Eden Engine; not an official product of any chain or node operator.
Price
$0.0026 per call
You pay the price shown. If a call turns out to cost more than its quote, you pay the actual price, capped at twice the quote. No monthly minimum. Top-ups start at $0.50.
Data source
On-chain data read from public blockchain nodes; no licence or credit is required. Served by Eden Engine; not an official product of any chain or node operator.
Use it
Five steps: search, inspect, learn, run, settle. No per-tool setup; your agent reaches this tool through the meta-tools it already has.
Connect once and your AI can find and run this tool, and any other it needs.
// 1. search: find the tool
omnial_search({ query: "what you need" })
// 2. inspect: price and input schema
omnial_inspect({ tool: "evmrpc/block-number" })
// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "evmrpc/block-number" })
// 4. run: price the exact call first, then run it
omnial_execute({ tool: "evmrpc/block-number", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "evmrpc/block-number", input: { /* ... */ } })
// 5. settle: the call is charged when it finishes, nothing to doNot connected yet? Point your MCP client at https://mcp.eden-engine.com/mcp, then copy a config for your client.
Pricing
Every charge this tool can incur.
| Charge | Price |
|---|---|
Per call | $0.0026 |
- Updated
- Oct 21, 2026
Input and output schemas
Input schema
{
"type": "object",
"required": [
"chain"
],
"properties": {
"chain": {
"enum": [
"ethereum",
"base",
"arbitrum",
"optimism",
"bsc"
],
"type": "string",
"description": "chain slug; see evmrpc/chain-info for ids and names"
}
},
"additionalProperties": false
}Output schema
{
"type": "object",
"required": [
"block_number"
],
"properties": {
"block_number": {
"type": [
"integer",
"null"
],
"description": "The newest block number known to the node that answered."
},
"block_number_hex": {
"type": [
"string",
"null"
],
"description": "The same number as the node's hex quantity."
}
},
"description": "The chain head as seen by one public node.",
"additionalProperties": false
}