> ## Documentation Index
> Fetch the complete documentation index at: https://docs.etherscan.io/llms.txt
> Use this file to discover all available pages before exploring further.

# eth_blockNumber

> Fetch the latest block number.

export const chain = '1';

### Query Parameters

<ParamField query="apikey" type="string" default="YourApiKeyToken">
  Your Etherscan API key.
</ParamField>

<ParamField query="chainid" type="string" default="1">
  Chain ID to query, eg `1` for Ethereum, `8453` for Base from our [supported chains](/supported-chains).
</ParamField>

<ParamField query="module" type="string" default="proxy">
  Set to `proxy` for this endpoint.
</ParamField>

<ParamField query="action" type="string" default="eth_blockNumber">
  Set to `eth_blockNumber` for this endpoint.
</ParamField>

<ResponseExample>
  ```json theme={null}
  {
    "jsonrpc": "2.0",
    "id": 83,
    "result": "0x1661760"
  }
  ```
</ResponseExample>
