getGenesisHash
Returns the genesis hash

Parameters

None

Returns

  • <base-58 encoded string> - a transaction hash

Example

Request

cURL
1
curl --location --request POST 'https://solana-mainnet.g.alchemy.com/v2/demo' \
2
--header 'Content-Type: application/json' \
3
--data-raw '{
4
"jsonrpc": "2.0",
5
"id": 1,
6
"method": "getGenesisHash"
7
}'
Copied!

Response

1
{
2
"jsonrpc": "2.0",
3
"result": "5eykt4UsFv8P8NJdTREpY1vzqKqZKvdpKuc147dw2N9d",
4
"id": 1
5
}
Copied!