getVersion RPC Method

Returns the current Solana version running on the node.

Parameters

None

Code Sample

curl https://rpc.testnet.soo.network/rpc \
-X POST \
-H "Content-Type: application/json" \
-d '{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "getVersion"
}'

Response

{
  "jsonrpc": "2.0",
  "result": {
    "solana-core": "1.16.0",
    "feature-set": 2094764835
  },
  "id": 1
}

Result Details

The result is a JSON object containing:

  • solana-core: <string>

    • Software version of Solana core
    • Provides the specific version of the Solana node software
  • feature-set: <u32>

    • Unique identifier of the current software’s feature set
    • Helps identify specific capabilities and characteristics of the Solana node