Shred Delivery and Sender are now live! Get earliest access to raw Solana data and optimized transaction sending. Learn about Shred Delivery | Learn about Sender
简体中文
返回有关参与集群的所有节点的信息。
cURL
curl --request POST \ --url https://mainnet.helius-rpc.com/ \ --header 'Content-Type: application/json' \ --data '{ "jsonrpc": "2.0", "id": "1", "method": "getClusterNodes" }'
{ "jsonrpc": "2.0", "id": "1", "result": [ { "pubkey": "9QzsJf7LPLj8GkXbYT3LFDKqsj2hHG7TA3xinJHu8epQ", "gossip": "10.239.6.48:8001", "tpu": "10.239.6.48:8856", "rpc": "10.239.6.48:8899", "version": "1.0.0 c375ce1f", "featureSet": 123, "shredVersion": 123 } ] }
您的 Helius API 密钥。您可以在仪表板中免费获取一个。
JSON-RPC 协议版本。
2.0
"2.0"
请求的唯一标识符。
"1"
要调用的 RPC 方法名称。
getClusterNodes
"getClusterNodes"
成功检索集群节点信息。
与请求匹配的标识符。
当前参与网络的所有可发现的Solana验证器节点的综合列表。
Show child attributes
此页面对您有帮助吗?