teku

package
v0.0.16 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 3, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TekuHTTPClient

type TekuHTTPClient struct {
	// contains filtered or unexported fields
}

func New

func New(httpClient *http.Client, baseURL string) *TekuHTTPClient

func (*TekuHTTPClient) GetAttestationsInPoolCount

func (s *TekuHTTPClient) GetAttestationsInPoolCount() (int64, error)

func (*TekuHTTPClient) GetChainHead

func (s *TekuHTTPClient) GetChainHead() (*types.ChainHead, error)

func (*TekuHTTPClient) GetGenesisTime

func (s *TekuHTTPClient) GetGenesisTime() (int64, error)

func (*TekuHTTPClient) GetPeerCount

func (s *TekuHTTPClient) GetPeerCount() (int64, error)

func (*TekuHTTPClient) GetSyncStatus

func (s *TekuHTTPClient) GetSyncStatus() (bool, error)

func (*TekuHTTPClient) GetVersion

func (s *TekuHTTPClient) GetVersion() (string, error)

func (*TekuHTTPClient) SubscribeChainHeads

func (c *TekuHTTPClient) SubscribeChainHeads() (beacon.ChainHeadSubscription, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL