Documentation ¶
Index ¶
- Constants
- type Apollo
- func (a *Apollo) ValidatorBalanceSums(ctx context.Context, rr apollo_req_types.ValidatorBalancesRequest) (apollo_resp_types.ValidatorBalancesSum, error)
- func (a *Apollo) ValidatorBalances(ctx context.Context, rr apollo_req_types.ValidatorBalancesRequest) (apollo_resp_types.ValidatorBalancesEpoch, error)
- func (a *Apollo) ValidatorStatuses(ctx context.Context, rr apollo_req_types.ValidatorsRequest) (apollo_resp_types.Validators, error)
Constants ¶
View Source
const ApolloEndpoint = "https://apollo.eth.zeus.fyi"
View Source
const ApolloLocalEndpoint = "http://localhost:9000"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Apollo ¶
type Apollo struct {
zeus_client.ZeusClient
}
func NewDefaultApolloClient ¶
func NewLocalApolloClient ¶
func (*Apollo) ValidatorBalanceSums ¶
func (a *Apollo) ValidatorBalanceSums(ctx context.Context, rr apollo_req_types.ValidatorBalancesRequest) (apollo_resp_types.ValidatorBalancesSum, error)
func (*Apollo) ValidatorBalances ¶
func (a *Apollo) ValidatorBalances(ctx context.Context, rr apollo_req_types.ValidatorBalancesRequest) (apollo_resp_types.ValidatorBalancesEpoch, error)
func (*Apollo) ValidatorStatuses ¶
func (a *Apollo) ValidatorStatuses(ctx context.Context, rr apollo_req_types.ValidatorsRequest) (apollo_resp_types.Validators, error)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.