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

# Get block number

> Get the latest block number.

`GET /block_number`

```python theme={null}
r = requests.get(rpc_url + "/block_number")
print(r.json())
```

## Response

```json theme={null}
{
  "block_number": "6343"
}
```

The value is the number of the latest block, whatever its status. To check whether that block is processed, confirmed, or finalized, call [Get block](https://docs.lenarchain.xyz/rpc/block.md) with this number and read its `status` (`0`, `1`, or `2`).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.