getVersion
Returns the current solana versions running on the node
请求参数
None
响应结果
The result field will be a JSON object with the following fields:
solana-core, software version of solana-core feature-set, unique identifier of the current software's feature set
示例代码
请求:
curl http://localhost:8899 -X POST -H "Content-Type: application/json" -d '
{"jsonrpc":"2.0","id":1, "method":"getVersion"}
响应:
{"jsonrpc":"2.0","result":{"solana-core": "1.7.2"},"id":1}