Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BeaconHead ¶
type Client ¶
type Client interface { GetSyncStatus() (SyncStatus, error) GetEth2Config() (Eth2Config, error) GetBeaconHead() (BeaconHead, error) GetValidatorStatus(pubkey types.ValidatorPubkey, opts *ValidatorStatusOptions) (ValidatorStatus, error) GetValidatorStatuses(pubkeys []types.ValidatorPubkey, opts *ValidatorStatusOptions) (map[types.ValidatorPubkey]ValidatorStatus, error) GetValidatorIndex(pubkey types.ValidatorPubkey) (uint64, error) GetDomainData(domainType []byte, epoch uint64) ([]byte, error) ExitValidator(validatorIndex, epoch uint64, signature types.ValidatorSignature) error Close() }
Beacon client interface
type Eth2Config ¶
type ValidatorStatus ¶
type ValidatorStatusOptions ¶
type ValidatorStatusOptions struct {
Epoch uint64
}
API request options
Click to show internal directories.
Click to hide internal directories.