getVersion RPC Method
Returns the current Solana version running on the node
params
Noneresult
object
A JSON object containing:
Request
$ curl https://api.devnet.solana.com -s -X \> POST -H "Content-Type: application/json" -d '> {> "jsonrpc": "2.0",> "id": 1,> "method": "getVersion"> }> '
Response
{"jsonrpc": "2.0","result": {"solana-core": "1.16.7","feature-set": 2891131721},"id": 1}
Request
$ 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
A JSON object containing:
Is this page helpful?