getGenesisHash - Solana
getGenesisHash. Retrieves the genesis hash of the blockchain
getGenesisHash - solana [Value: 13CU]
Retrieves the genesis hash of the blockchain
Use cases
- Retrieve the genesis hash of the Solana blockchain
- Validate the origin block for blockchain integrity
- Use the genesis hash for initial synchronization
Constraints
- Only applicable to the Solana genesis block
- Requires proper authentication for API access
- May encounter network delays during retrieval
Unlock Access to 50+ chains
Boost your app's speed and reliability with dRPC - get your access API key
Language
Request
Examples
curl https://solana.drpc.org \
-X POST \
-H "Content-Type: application/json" \
--data '{"jsonrpc":"2.0","id":1, "method":"getGenesisHash"}'
Response
200
{
"jsonrpc": "2.0",
"result": "5eykt4UsFv8P8NJdTRE4Y9Zhr8JH7AbqRZKKih4jZLh",
"id": 1
}
Request params
idinteger
jsonrpcstring
methodstring
Response
200
The slot number of the lowest confirmed block, represented as a 64-bit unsigned integer (u64).Response params
object
idinteger
jsonrpcstring
resultstring