For the complete documentation index, see llms.txt. This page is also available as Markdown.

getVersion

Returns the current solana version running on the node.

This method will use 30 Compute Units.


Parameters

None.

Returns

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.

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

Last updated

Was this helpful?