Skip to main content

getGenesisHash RPC Method

Returns the genesis hash.

Updated on
Dec 7, 2023

getGenesisHash RPC Method

Parameters

This method does not accept any parameters

Returns

result
The hash encoded as base-58 string
Request
1
curl https://docs-demo.solana-mainnet.quiknode.pro/ \
2
-X POST \
3
-H "Content-Type: application/json" \
4
--data '{"jsonrpc":"2.0","id":1, "method":"getGenesisHash"}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free