getCommitteeInfo

suspend fun getCommitteeInfo(epoch: Long? = null): CommitteeInfo.SuiCommittee

Suspended function to retrieve information about the committee information for the asked epoch.

Return

an instance of CommitteeInfo.SuiCommittee

Parameters

epoch

the epoch to retrieve committee information for, defaults to null (SUi will use the current epoch if not specified)

Throws

if an error occurred while retrieving committee information