⚡ Test Our Private Nodes of 40+ Blockchains just for $50!

coins coins coins coins
sol
Solana (SOL)

Method: POST getClusterNodes

dropdown

# getClusterNodes example for Solana (SOL)

POST getClusterNodes

Returns information about all the nodes participating in the cluster

Parameters

-

Request

curl --location --request POST 'https://sol.getblock.io/mainnet' \
--header 'x-api-key: YOUR-API-KEY' \
--header 'Content-Type: application/json' \
--data-raw '{"jsonrpc": "2.0",
"method": "getClusterNodes",
"params": [],
"id": "getblock.io"}'


Response

{
    "id": "getblock.io",
    "jsonrpc": "2.0",
    "result": [
        {
            "featureSet": 1006352700,
            "gossip": "31.172.68.63:8000",
            "pubkey": "HE1dQi3teg3TLrK5RdU44iEiui598j4EgrjmQst3BRhJ",
            "rpc": null,
            "shredVersion": 8573,
            "tpu": "31.172.68.63:8003",
            "version": "1.8.14"
        },
        {
            "featureSet": 1006352700,
            "gossip": "23.88.66.109:8001",
            "pubkey": "eZbXgpRG9UufthfC2a6MBVciB6m4ieJREGroR2T1jEH",
            "rpc": null,
            "shredVersion": 8573,
            "tpu": "23.88.66.109:8004",
            "version": "1.8.14"
        },
        {
            "featureSet": 52865992,
            "gossip": "5.161.55.38:8001",
            "pubkey": "C3b2RHi4tcsUiZxdDCbfHuGcvQXGUdJUh16bCQ4Eiiwx",
            "rpc": null,
            "shredVersion": 8573,
            "tpu": null,
            "version": "1.8.5"
        }
    ]
}