> ## 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.

# GetLatestBlockhash

> Erhalten Sie den neuesten Blockhash von der Solana-Blockchain mithilfe der LaserStream gRPC API.

<hide>
  ## Endpunkte

  gRPC-Dienste sind auf Mainnet und Devnet mit den folgenden URLs verfügbar:

  * **Mainnet** `https://laserstream-mainnet.helius-rpc.com:443`
  * **Devnet** `https://laserstream-devnet.helius-rpc.com:443`
</hide>

## Berechtigungen

<ParamField query="x-token" type="string" required>
  Ihr Helius API-Schlüssel. Sie können einen kostenlos im
  [Dashboard](https://dashboard.helius.dev/api-keys) erhalten.
</ParamField>

## Nachricht

Diese Methode nimmt eine leere Anfrage entgegen und gibt den neuesten Blockhash und die entsprechende letzte gültige Blockhöhe zurück.

<RequestExample>
  ```json Empty Request theme={"system"}
  {}
  ```
</RequestExample>

## Antwort

<ResponseField name="slot" type="string">
  Die aktuelle Slotnummer.
</ResponseField>

<ResponseField name="blockhash" type="string">
  Der neueste Blockhash als Base-58-kodierter String.
</ResponseField>

<ResponseField name="last_valid_block_height" type="string">
  Die letzte Blockhöhe, bei der der zurückgegebene Blockhash gültig ist.
</ResponseField>

<ResponseExample>
  ```json Latest Blockhash Response theme={"system"}
  {
    "slot": "333390974",
    "blockhash": "CiqX6nU67eVCFqxh6TJ3LF8bDqjtnD2wULRMME917QSY",
    "last_valid_block_height": "311630163"
  }
  ```
</ResponseExample>
