curl https://mainnet.solana.validationcloud.io/v1/<YOUR_API_KEY_HERE> \
-X POST \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1, "method":"getVersion"}'
Returns the current solana version running on the node.
This method will use 30
Compute Units.
None.
result
A JSON object with the following fields:
solana-core
The software version of solana-core.
feature-set
The unique identifier of the current software's feature set.