Properties
Private
Readonly
client
client: LuzidGrpcClient
Methods
getValidatorInfo
- getValidatorInfo(opts?): Promise<ValidatorInfo>
Parameters
opts: {
emitCurrent: undefined | boolean;
} = {}
emitCurrent: undefined | boolean
Returns Promise<ValidatorInfo>
getValidatorStats
- getValidatorStats(opts?): Promise<ValidatorStats>
Parameters
opts: {
emitCurrent: undefined | boolean;
} = {}
emitCurrent: undefined | boolean
Returns Promise<ValidatorStats>
getValidatorStatus
- getValidatorStatus(opts?): Promise<ValidatorStatus>
Parameters
opts: {
emitCurrent: undefined | boolean;
} = {}
emitCurrent: undefined | boolean
Returns Promise<ValidatorStatus>
Private
restart
- restart(): Promise<Successful<ValidatorOpsResponse>>
Private
Returns Promise<Successful<ValidatorOpsResponse>>
Private
start
- start(): Promise<Successful<ValidatorOpsResponse>>
Private
Returns Promise<Successful<ValidatorOpsResponse>>
Private
stop
- stop(): Promise<Successful<ValidatorOpsResponse>>
Private
Returns Promise<Successful<ValidatorOpsResponse>>
subValidatorInfo
- subValidatorInfo(__namedParameters?): AsyncIterable<ValidatorInfo>
Parameters
__namedParameters: {
emitCurrent: undefined | boolean;
} = {}
emitCurrent: undefined | boolean
Returns AsyncIterable<ValidatorInfo>
subValidatorStats
- subValidatorStats(opts?): AsyncIterable<ValidatorStats>
Parameters
opts: {
emitCurrent: undefined | boolean;
} = {}
emitCurrent: undefined | boolean
Returns AsyncIterable<ValidatorStats>
subValidatorStatus
- subValidatorStatus(opts?): AsyncIterable<ValidatorStatus>
Parameters
opts: {
emitCurrent: undefined | boolean;
} = {}
emitCurrent: undefined | boolean
Returns AsyncIterable<ValidatorStatus>
Private
validatorOps
- validatorOps(op): Promise<Successful<ValidatorOpsResponse>>
Private
Returns Promise<Successful<ValidatorOpsResponse>>
Retrieves the current validator info or the earliest available.