curl --request POST \
--url https://nd-326-444-187.p2pify.com/9de47db917d4f69168e3fed02217d15b \
--header 'Content-Type: application/json' \
--data '{
"id": 1,
"jsonrpc": "2.0",
"method": "getGenesisHash",
"params": []
}'
{
"jsonrpc": "<string>",
"id": 123,
"result": "<string>"
}
curl --request POST \
--url https://nd-326-444-187.p2pify.com/9de47db917d4f69168e3fed02217d15b \
--header 'Content-Type: application/json' \
--data '{
"id": 1,
"jsonrpc": "2.0",
"method": "getGenesisHash",
"params": []
}'
{
"jsonrpc": "<string>",
"id": 123,
"result": "<string>"
}
getGenesisHash
methodgetGenesisHash
method returns the genesis hash for the current network.
This method provides the genesis hash, which is a unique identifier for the network’s genesis block. It is useful for distinguishing between different Solana networks.
value
— the genesis hash for the current network.getGenesisHash
is to distinguish between different Solana networks. This can be useful for wallets or other applications that need to display or make use of this information.Genesis hash details
The response is of type object
.
Was this page helpful?