• Fetch the current Solana version running on the node.

    Parameters

    Returns Promise<{
        feature-set: number;
        solana-core: string;
    }>

    Object containing the solana-core version string and feature-set identifier

    const version = await getVersion(transport);
    console.log(version['solana-core']);

    1.0.0