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
example.ts
import { publicClient } from "./client";
const PoSCommittee = await publicClient.getPoSCommittee();
Returns
Parameters
blockNumber (optional)
const PoSCommittee = await publicClient.getPoSCommittee({
blockNumber: 1n,
});