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
简体中文
返回节点上运行的当前 Solana 版本。
cURL
curl --request POST \ --url https://mainnet.helius-rpc.com/ \ --header 'Content-Type: application/json' \ --data '{ "jsonrpc": "2.0", "id": "1", "method": "getVersion" }'
{ "jsonrpc": "2.0", "id": "1", "result": { "solana-core": "1.16.7", "feature-set": 2891131721 } }
您的Helius API密钥。您可以在仪表板中免费获取一个。
JSON-RPC协议版本。
2.0
"2.0"
请求的唯一标识符。
"1"
要调用的RPC方法名称。
getVersion
"getVersion"
不需要参数。
成功检索到Solana版本详细信息。
JSON-RPC 协议版本。
与请求匹配的标识符。
Solana 版本详细信息。
Show child attributes
此页面对您有帮助吗?