getVersion RPC 方法
返回节点上运行的当前 Solana 版本
$ curl https://api.devnet.solana.com -s -X \> POST -H "Content-Type: application/json" -d '> {> "jsonrpc": "2.0",> "id": 1,> "method": "getVersion"> }> '
params
Noneresult
Response
{"jsonrpc": "2.0","result": {"solana-core": "1.16.7","feature-set": 2891131721},"id": 1}
object
一个包含以下内容的 JSON 对象:
Is this page helpful?