HTTP Methods
getGenesisHash
Returns the genesis hash — the unique identifier for a Solana cluster (mainnet, devnet, or testnet) — used to verify connection to the intended network.
POST
getGenesisHash
Authorizations
Body
application/json
Response
Successfully retrieved the genesis hash.
The JSON-RPC protocol version.
Available options:
2.0 Example:
"2.0"
Identifier matching the request.
Example:
"1"
Unique genesis hash (base-58 encoded) that cryptographically identifies this specific Solana blockchain network (different for mainnet, testnet, devnet).
Example:
"GH7ome3EiwEr7tu9JuTh2dpYWBJK3z69Xm1ZE3MEE6JC"
Previous
getHealthReturns the current health of the node. A healthy node is one that is within `HEALTH_CHECK_SLOT_DISTANCE` slots of the latest cluster confirmed slot.
Next
getGenesisHash