Skip to main content
POST
getGenesisHash
Configuración y errores: inicio rápido RPC. Facturación: créditos y límites.

Autorizaciones

api_key
string
query
requerido

Cuerpo

application/json
jsonrpc
enum<string>
predeterminado:2.0
requerido

The JSON-RPC protocol version.

Opciones disponibles:
2.0
Ejemplo:

"2.0"

id
string
predeterminado:1
requerido

A unique identifier for the request.

Ejemplo:

"1"

method
enum<string>
predeterminado:getGenesisHash
requerido

The name of the RPC method to invoke.

Opciones disponibles:
getGenesisHash
Ejemplo:

"getGenesisHash"

Respuesta

200 - application/json

Successfully retrieved the genesis hash.

jsonrpc
enum<string>

The JSON-RPC protocol version.

Opciones disponibles:
2.0
Ejemplo:

"2.0"

id
string

Identifier matching the request.

Ejemplo:

"1"

result
string

Unique genesis hash (base-58 encoded) that cryptographically identifies this specific Solana blockchain network (different for mainnet, testnet, devnet).

Ejemplo:

"GH7ome3EiwEr7tu9JuTh2dpYWBJK3z69Xm1ZE3MEE6JC"