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

# Solana Block & Network RPC Methods

> Block, slot, epoch, supply, fee, and network Solana RPC methods — getBlock, getSlot, getEpochInfo, getLatestBlockhash, getFeeForMessage, and more.

## What's here

Beyond [transactions](https://www.helius.dev/docs/rpc/historical-data.md), [accounts](https://www.helius.dev/docs/rpc/accounts.md), and [tokens & NFTs](https://www.helius.dev/docs/das-api.md), Solana exposes RPC methods for blocks, slots, epochs, supply, fees, and node status. This page groups the most useful ones; each card links to its full guide.

## Blocks & slots

> [card] [getBlock](https://www.helius.dev/docs/rpc/guides/getblock.md)
>
> All transactions and metadata for a confirmed block.

> [card] [getBlocks](https://www.helius.dev/docs/rpc/guides/getblocks.md)
>
> A list of confirmed blocks between two slots.

> [card] [getBlockTime](https://www.helius.dev/docs/rpc/guides/getblocktime.md)
>
> The estimated production time of a block, as a Unix timestamp.

> [card] [getSlot](https://www.helius.dev/docs/rpc/guides/getslot.md)
>
> The slot that has reached the given or default commitment level.

## Epoch & network

> [card] [getEpochInfo](https://www.helius.dev/docs/rpc/guides/getepochinfo.md)
>
> Information about the current epoch, including slot progress.

> [card] [getClusterNodes](https://www.helius.dev/docs/rpc/guides/getclusternodes.md)
>
> Details of all nodes participating in the cluster.

> [card] [getVersion](https://www.helius.dev/docs/rpc/guides/getversion.md)
>
> The Solana version running on the node.

> [card] [getHealth](https://www.helius.dev/docs/rpc/guides/gethealth.md)
>
> The current health of the node.

## Supply & fees

> [card] [getSupply](https://www.helius.dev/docs/rpc/guides/getsupply.md)
>
> Information about the current circulating and total SOL supply.

> [card] [getLatestBlockhash](https://www.helius.dev/docs/rpc/guides/getlatestblockhash.md)
>
> A recent blockhash, required to build and sign transactions.

> [card] [getFeeForMessage](https://www.helius.dev/docs/rpc/guides/getfeeformessage.md)
>
> The fee a given message will cost when submitted.

> [card] [getRecentPrioritizationFees](https://www.helius.dev/docs/rpc/guides/getrecentprioritizationfees.md)
>
> Recent prioritization fees, useful for setting priority fees. See also the [Priority Fee API](https://www.helius.dev/docs/priority-fee-api.md).

## Quickstart

Many of these methods take no parameters. For example, `getLatestBlockhash` returns a blockhash you can use to build a transaction:

```typescript TypeScript theme={"system"}
const response = await fetch(`https://mainnet.helius-rpc.com/?api-key=YOUR_API_KEY`, {
  method: 'POST',
  headers: { 'Content-Type': 'application/json' },
  body: JSON.stringify({
    jsonrpc: '2.0',
    id: '1',
    method: 'getLatestBlockhash',
    params: [{ commitment: 'finalized' }],
  }),
});

const { result } = await response.json();
console.log(result.value.blockhash);
```

```python Python theme={"system"}
import requests

url = "https://mainnet.helius-rpc.com/?api-key=YOUR_API_KEY"
payload = {
    "jsonrpc": "2.0",
    "id": "1",
    "method": "getLatestBlockhash",
    "params": [{"commitment": "finalized"}],
}
print(requests.post(url, json=payload).json()["result"]["value"]["blockhash"])
```

```bash cURL theme={"system"}
curl https://mainnet.helius-rpc.com/?api-key=YOUR_API_KEY \
  -X POST \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "id": "1",
    "method": "getLatestBlockhash",
    "params": [{ "commitment": "finalized" }]
  }'
```

## Next steps

> [card] [All RPC methods](https://www.helius.dev/docs/rpc/guides/overview.md)
>
> Browse the complete Solana RPC method reference with guides for every method.

> [card] [HTTP method reference](https://www.helius.dev/docs/api-reference/rpc/http-methods.md)
>
> Formal request and response schemas for all HTTP RPC methods.

> [card] [Accounts](https://www.helius.dev/docs/rpc/accounts.md)
>
> Read account state with getAccountInfo and friends.

> [card] [Transactions](https://www.helius.dev/docs/rpc/historical-data.md)
>
> Query transaction and transfer history for an address.


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