Skip to content
Cive

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 .();

Returns

PoSCommittee

Parameters

blockNumber (optional)

const PoSCommittee = await publicClient.getPoSCommittee({
  blockNumber: 1n, 
});

JSON-RPC Method

pos_getCommittee