Skip to content

getStatus

Get the status of the node.

Usage

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

const nodeStatus = await publicClient.getStatus();

Returns

NodeStatus

The NodeStatus object.

JSON-RPC Method

cfx_getStatus