Fetch the current Solana version running on the node.
HTTP transport instance
Additional call options
Object containing the solana-core version string and feature-set identifier
const version = await getVersion(transport);console.log(version['solana-core']); Copy
const version = await getVersion(transport);console.log(version['solana-core']);
1.0.0
Fetch the current Solana version running on the node.