Versions in this module Expand all Collapse all v0 v0.0.2 Mar 22, 2024 v0.0.1 Mar 20, 2024 Changes in this version + const SpecPath + const SyncPath + type BeaconService struct + func NewBeaconService() *BeaconService + func (b *BeaconService) Configure(cfg config.BeaconConfig) error + func (b *BeaconService) ConnectedChainId() *big.Int + func (b *BeaconService) Status() (res *SyncStatusData, err error) + func (b *BeaconService) SubscribeToHeadEvents(ctx context.Context, headEvent chan<- HeadEventData) error + type GetSyncStatusResponse struct + Data *SyncStatusData + type HeadEventData struct + Block string + Slot uint64 + State string + type SyncStatusData struct + ElOffline bool + HeadSlot uint64 + IsOptimistic bool + IsSyncing bool + SyncDistance uint64