Last updated 2 months ago
Was this helpful?
Returns the genesis hash.
This method will use 30 .
30
None.
result The hash encoded as base-58 string.
result
// Result { "jsonrpc": "2.0", "result": "5eykt4UsFv8P8NJdTREpY1vzqKqZKvdpKuc147dw2N9d", "id": 1 }
curl https://mainnet.solana.validationcloud.io/v1/<YOUR_API_KEY_HERE> \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc":"2.0","id":1, "method":"getGenesisHash"}'