getVersion
Returns the current solana versions running on the node

Parameters

None

Result

  • solana-core: <string>, software version of solana-core
  • feature-set: <u64>, unique identifier of the current software's feature set

Example

Request

cURL
1
curl --location --request POST 'https://solana-mainnet.g.alchemy.com/v2/demo' \
2
--header 'Content-Type: application/json' \
3
--data-raw '{
4
"jsonrpc": "2.0",
5
"id": 1,
6
"method": "getVersion"
7
}'
Copied!

Response

1
{
2
"jsonrpc": "2.0",
3
"result": {
4
"feature-set": 2945818700,
5
"solana-core": "1.9.21"
6
},
7
"id": 1
8
}
Copied!