getGenesisHash RPC Method

Returns the genesis hash.

Parameters

None

Code Sample

curl https://rpc.testnet.soo.network/rpc \
-X POST \
-H "Content-Type: application/json" \
-d '{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "getGenesisHash"
}'

Response

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

Result Details

The result will be:

  • <string> - Genesis hash
    • Represented as a base-58 encoded string
    • Uniquely identifies the initial block of the blockchain
    • Remains constant for a specific blockchain network