getVersion - Solana
getVersion. Retrieves the current software version of the node
getVersion - solana [Value: 10CU]
The method in Solana returns the Solana version
Use cases
- Retrieve the current version of the Solana software
- Ensure compatibility by checking Solana version
- Monitor software updates for network maintenance
Constraints
- Only provides the current version information
- Requires real-time access to network data
- API rate limits may restrict frequent checks
Unlock Access to 50+ chains
Boost your app's speed and reliability with dRPC - get your access API key
Language
Request
Examples
curl https://solana.drpc.org \
-X POST \
-H "Content-Type: application/json" \
--data '{"jsonrpc":"2.0","id":1, "method":"getVersion"}'
Response
200
{
"jsonrpc": "2.0",
"result": {
"solana-core": "1.8.0",
"feature-set": 123456789
},
"id": 1
}
Request params
idinteger
jsonrpcstring
methodstring
Response
200
A JSON object containing details about the software version.Response params
object
idinteger
jsonrpcstring
resultstring
object
solana-corestring
The version of the solana-core software.
feature-setstring
The unique identifier for the current set of software features.