Parameters
chainId
string
default:"solana-devnet"
required
Unique identifier for a blockchain network.
Request identifier used to match responses.
jsonrpc
string
default:"2.0"
required
JSON-RPC version.
method
string
default:"getClusterNodes"
required
JSON-RPC method name.
This method does not require any parameters.
Returns
List of node metadata results.
Node information including public key, network addresses, and software metadata.
Node public key, as base-58 encoded string.
Gossip network address, or null if unavailable.
TPU network address, or null if unavailable.
JSON RPC network address, or null if RPC is disabled.
Software version of the node, or null if not reported.
Unique feature set ID for the node, or null.
Shred version configured for the node, or null.
curl --request POST \
--url https://api.uniblock.dev/uni/v1/json-rpc?chainId=solana-devnet \
--header 'content-type: application/json' \
--data '{
"id": 1,
"jsonrpc": "2.0",
"method": "getClusterNodes",
"params": []
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": [
{
"gossip": "10.239.6.48:8001",
"pubkey": "9QzsJf7LPLj8GkXbYT3LFDKqsj2hHG7TA3xinJHu8epQ",
"rpc": "10.239.6.48:8899",
"tpu": "10.239.6.48:8856",
"version": "1.0.0 c375ce1f"
}
]
}