Solana Tracker
Solana RPC/Methods

getGenesisHash RPC Method

Description

Returns the genesis hash.

Parameters

This method takes no parameters.

Returns

  • result - The hash encoded as a base-58 string.

Code Examples

curl "https://rpc-mainnet.solanatracker.io/?api_key=YOUR_API_KEY_HERE" \
  -X POST \
  -H "Content-Type: application/json" \
  --data '{"jsonrpc":"2.0","id":1, "method":"getGenesisHash"}'

Full Example Response

{
  "jsonrpc": "2.0",
  "result": "5eykt4UsFv8P8NJdTREpY1vzqKqZKvdpKuc147dw2N9d",
  "id": 1
}

On this page