getGenesisHash
Solana node API
getGenesisHash | Solana
The Solana getGenesisHash method returns the genesis hash for the current network. Available on Solana via Chainstack JSON-RPC nodes.
POST
getGenesisHash
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.
Get your own node endpoint todayStart for free and get your app to production levels immediately. No credit card required.You can sign up with your GitHub, X, Google, or Microsoft account.
Parameters
This method does not require any parameters.Response
value— the genesis hash for the current network.
Use case
A practical use case forgetGenesisHash 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.Last modified on May 18, 2026