getClusterNodes – Solana
The getClusterNodes JSON-RPC method retrieves information about all nodes participating in the Solana cluster.
Supported Networks
Parameters
Request Example
API Endpoints
https://go.getblock.io/<ACCESS-TOKEN>/cURL Example
curl --location "https://go.getblock.io/<ACCESS-TOKEN>/" -XPOST \
--header "Content-Type: application/json" \
--data '{
"jsonrpc": "2.0",
"id": 1,
"method": "getClusterNodes"
}'Response
Example Response
Error Handling
Example Error Response
Use Cases
Code Example – Web3 getClusterNodes Integration
Integration with Web3
Last updated
Was this helpful?