Documentation ¶
Index ¶
- func FetchChainConfig(conn *grpc.ClientConn) (map[string]interface{}, error)
- func FetchChainInfo(conn *grpc.ClientConn) (*ethpb.ChainHead, error)
- func FetchGenesis(conn *grpc.ClientConn) (time.Time, error)
- func FetchValidator(conn *grpc.ClientConn, account wtypes.Account) (*ethpb.Validator, error)
- func FetchValidatorIndex(conn *grpc.ClientConn, account wtypes.Account) (uint64, error)
- func FetchValidatorInfo(conn *grpc.ClientConn, account wtypes.Account) (*ethpb.ValidatorInfo, error)
- func FetchValidatorState(conn *grpc.ClientConn, account wtypes.Account) (ethpb.ValidatorStatus, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FetchChainConfig ¶
func FetchChainConfig(conn *grpc.ClientConn) (map[string]interface{}, error)
FetchChainConfig fetches the chain configuration from the beacon node. It tweaks the output to make it easier to work with by setting appropriate types.
func FetchChainInfo ¶ added in v1.2.4
func FetchChainInfo(conn *grpc.ClientConn) (*ethpb.ChainHead, error)
FetchChainInfo fetches current chain info from the beacon node.
func FetchGenesis ¶
func FetchGenesis(conn *grpc.ClientConn) (time.Time, error)
FetchGenesis fetches the genesis time.
func FetchValidator ¶
FetchValidator fetches the validator definition from the beacon node.
func FetchValidatorIndex ¶
FetchValidatorIndex fetches the index of a validator.
func FetchValidatorInfo ¶ added in v1.2.3
func FetchValidatorInfo(conn *grpc.ClientConn, account wtypes.Account) (*ethpb.ValidatorInfo, error)
FetchValidatorInfo fetches current validator info from the beacon node.
func FetchValidatorState ¶
func FetchValidatorState(conn *grpc.ClientConn, account wtypes.Account) (ethpb.ValidatorStatus, error)
FetchValidatorState fetches the state of a validator.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.