getPosCommittee
Get the current PoS committee information in default. It is also able to get the committee information for a block in history by specifying the blockNumber.
Usage
import { } from "./client";
const = await .();import { , } from "cive";
import { } from "cive/chains";
export const = ({
: ,
: (),
});Returns
Parameters
blockNumber (optional)
const PoSCommittee = await publicClient.getPoSCommittee({
blockNumber: 1n,
});