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

> LaserStream gRPC APIを使用してSolanaブロックチェーンから最新のblockhashを取得します。

<hide>
  ## エンドポイント

  gRPCサービスは以下のURLでメインネットおよびデブネットで利用可能です。

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

## 認証

<ParamField query="x-token" type="string" required>
  あなたのHelius APIキーです。無料で[ダッシュボード](https://dashboard.helius.dev/api-keys)から取得できます。
</ParamField>

## メッセージ

このメソッドは空のリクエストを受け取り、最新のblockhashとその対応する有効な最後のブロック高さを返します。

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

## 応答

<ResponseField name="slot" type="string">
  現在のスロット番号です。
</ResponseField>

<ResponseField name="blockhash" type="string">
  最新のblockhashで、base-58エンコードされた文字列です。
</ResponseField>

<ResponseField name="last_valid_block_height" type="string">
  返されたblockhashが有効となる最後のブロック高さです。
</ResponseField>

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