Skip to content

getClientVersion

Get the Conflux-rust version

Usage

example.ts
import { publicClient } from "./client";

const version = await publicClient.getClientVersion();

Returns

string

The Conflux-rust version.

JSON-RPC Method

cfx_clientVersion