<!-- Canonical: https://docs.linea.build/api/reference/eth-blocknumber -->

> For the complete Linea documentation index, see [llms.txt](/llms.txt).
> Agents can fetch this page as Markdown at [https://docs.linea.build/api/reference/eth-blocknumber.md](https://docs.linea.build/api/reference/eth-blocknumber.md).

# eth_blockNumber

# `eth_blockNumber`

Returns the number of the most recent block.

## Parameters

None.

## Returns

Hexadecimal integer of the current block number.

## Example

### Request

```bash
curl https://rpc.linea.build \
  -X POST \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'
```

### Response

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": "0x1ce5452"
}
```
