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

# getGenesisHash | Solana

> The Solana getGenesisHash method returns the genesis hash for the current network. Available on Solana via Chainstack JSON-RPC nodes.

# Solana `getGenesisHash` method

The Solana `getGenesisHash` method returns the genesis hash for the current network.

This method provides the genesis hash, which is a unique identifier for the network's genesis block. It is useful for distinguishing between different Solana networks.

## Parameters

This method does not require any parameters.

## Response

* `value` — the genesis hash for the current network.

## Use case

A practical use case for `getGenesisHash` is to distinguish between different Solana networks. This can be useful for wallets or other applications that need to display or make use of this information.


## OpenAPI

````yaml openapi/solana_node_api/getGenesisHash.json POST /9de47db917d4f69168e3fed02217d15b
openapi: 3.0.0
info:
  title: getGenesisHash example
  version: 1.0.0
  description: This is an API example for Solana's getGenesisHash.
servers:
  - url: https://nd-326-444-187.p2pify.com
security: []
paths:
  /9de47db917d4f69168e3fed02217d15b:
    post:
      tags:
        - query
      summary: getGenesisHash
      operationId: getGenesisHash
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                id:
                  type: integer
                  default: 1
                jsonrpc:
                  type: string
                  default: '2.0'
                method:
                  type: string
                  default: getGenesisHash
                params:
                  type: array
                  default: []
      responses:
        '200':
          description: Genesis hash details
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                  id:
                    type: integer
                  result:
                    type: string

````