> For the complete documentation index, see [llms.txt](https://docs.frequencychain.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.frequencychain.org/15.-apis-and-sdk-integration/15.1-reading-blockchain-data-using-rpc.md). Agents can also search and read this documentation through its [MCP server](https://docs.frequencychain.org/~gitbook/mcp).

# 15.1 Reading Blockchain Data Using RPC

A simple example of querying the latest block number using curl is shown below.

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

This request sends a JSON-RPC call to the FreCx node, asking for the most recent block number. The response will contain the block number in hexadecimal format.

This type of interaction is useful for backend systems, monitoring tools, and lightweight integrations.
