Skip to content

getBastBlockHash

Get the base block hash.

Usage

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

const hash = await publicClient.getBastBlockHash();

Returns

Hash

JSON-RPC Method

cfx_getBestBlockHash