getCommitteeInfo

open suspend override fun getCommitteeInfo(epochId: Long?, after: String?): Result<GetCommitteeInfoQuery.Data?, SuiError>

Fetches the committee of validators for a specific epoch.

If the epoch ID is not provided, it defaults to the current epoch.

Return

A Result which is either:

Parameters

epochId

The epoch number for which to fetch the committee information.

after

An optional cursor for forward pagination.