getVersion RPC Method

Returns the current Solana version running on the node

Request
$ curl https://api.devnet.solana.com -s -X \
> POST -H "Content-Type: application/json" -d '
> {
> "jsonrpc": "2.0",
> "id": 1,
> "method": "getVersion"
> }
> '

params

None

result

Response
{
"jsonrpc": "2.0",
"result": {
"solana-core": "1.16.7",
"feature-set": 2891131721
},
"id": 1
}
object

A JSON object containing:

Is this page helpful?