supra-ts-sdk - v2.0.0
    Preparing search index...

    Interface NodeVersionInfo

    The body of GET /rpc/v3/version, returned by SupraClient.getNodeVersion().

    interface NodeVersionInfo {
        version: string;
        release?: string;
        branch: string;
        commit_hash: string;
        build_time: string;
        build_env: string;
    }
    Index
    version: string

    The version of the node's Rust packages. It is the same for every release; use release to tell releases apart.

    release?: string

    The node release the binary was built from, as its release tag: for example supra_node_v12.0.0.rc7, or unreleased for a build from a commit that is not a release. Absent when the node is older than supra_node_v12.0.0.

    Preview: wraps an API added in supra_node_v12.0.0, which may change until that release reaches Testnet.

    branch: string

    Git branch of the build. Empty when the build was made from a tag or the branch was not recorded.

    commit_hash: string

    The git commit hash the binary was built from. Empty when the build did not record it.

    build_time: string

    Timestamp of the build.

    build_env: string

    The Rust tool-chain that built the binary.