We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Defined as:
export interface MiningRoundClient { getOpenAndIssuingMiningRounds: () => Promise<GetOpenAndIssuingMiningRoundsResponse>; }
Implementations in the wild are typically ValidatorApiClient, but tests can stub getOpenAndIssuingMiningRounds with fixture JSON.
ValidatorApiClient
getOpenAndIssuingMiningRounds
Pass any compatible object into getCurrentMiningRoundContext, getCurrentMiningRoundDomainId, getCurrentRoundNumber, waitForRoundChange.
getCurrentMiningRoundContext
getCurrentMiningRoundDomainId
getCurrentRoundNumber
waitForRoundChange
src/utils/mining/mining-rounds.ts