arb_block_number
Retrieves the L2 block number from the ArbSys precompile, matching the value returned by eth_blockNumber, distinct from block.number in contracts.
Instructions
L2 block number from the ArbSys precompile. This is the value eth_blockNumber returns — distinct from the block.number a contract observes.
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": "arb_block_number"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||