> ## 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](/rpc/historical-data), [accounts](/rpc/accounts), and [tokens & NFTs](/das-api), 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

<CardGroup cols={2}>
  <Card title="getBlock" icon="cube" href="/rpc/guides/getblock">
    All transactions and metadata for a confirmed block.
  </Card>

  <Card title="getBlocks" icon="cubes" href="/rpc/guides/getblocks">
    A list of confirmed blocks between two slots.
  </Card>

  <Card title="getBlockTime" icon="clock" href="/rpc/guides/getblocktime">
    The estimated production time of a block, as a Unix timestamp.
  </Card>

  <Card title="getSlot" icon="gauge" href="/rpc/guides/getslot">
    The slot that has reached the given or default commitment level.
  </Card>
</CardGroup>

## Epoch & network

<CardGroup cols={2}>
  <Card title="getEpochInfo" icon="calendar" href="/rpc/guides/getepochinfo">
    Information about the current epoch, including slot progress.
  </Card>

  <Card title="getClusterNodes" icon="network-wired" href="/rpc/guides/getclusternodes">
    Details of all nodes participating in the cluster.
  </Card>

  <Card title="getVersion" icon="tag" href="/rpc/guides/getversion">
    The Solana version running on the node.
  </Card>

  <Card title="getHealth" icon="heart-pulse" href="/rpc/guides/gethealth">
    The current health of the node.
  </Card>
</CardGroup>

## Supply & fees

<CardGroup cols={2}>
  <Card title="getSupply" icon="coins" href="/rpc/guides/getsupply">
    Information about the current circulating and total SOL supply.
  </Card>

  <Card title="getLatestBlockhash" icon="hashtag" href="/rpc/guides/getlatestblockhash">
    A recent blockhash, required to build and sign transactions.
  </Card>

  <Card title="getFeeForMessage" icon="money-bill" href="/rpc/guides/getfeeformessage">
    The fee a given message will cost when submitted.
  </Card>

  <Card title="getRecentPrioritizationFees" icon="gauge-high" href="/rpc/guides/getrecentprioritizationfees">
    Recent prioritization fees, useful for setting priority fees. See also the [Priority Fee API](/priority-fee-api).
  </Card>
</CardGroup>

## Quickstart

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

<CodeGroup>
  ```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" }]
    }'
  ```
</CodeGroup>

## Next steps

<CardGroup cols={2}>
  <Card title="All RPC methods" icon="server" href="/rpc/guides/overview">
    Browse the complete Solana RPC method reference with guides for every method.
  </Card>

  <Card title="HTTP method reference" icon="code" href="/api-reference/rpc/http-methods">
    Formal request and response schemas for all HTTP RPC methods.
  </Card>

  <Card title="Accounts" icon="circle-info" href="/rpc/accounts">
    Read account state with getAccountInfo and friends.
  </Card>

  <Card title="Transactions" icon="clock-rotate-left" href="/rpc/historical-data">
    Query transaction and transfer history for an address.
  </Card>
</CardGroup>
