uptime

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2025 License: CC0-1.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

func NewClient

func NewClient(validatorsURL string) (*Client, error)

url should be like https://node.myl1.network/ext/bc/<blockchainID>/validators

func (*Client) GetCurrentValidators

func (c *Client) GetCurrentValidators(ctx context.Context, options ...rpc.Option) ([]client.CurrentValidator, error)

Jump to

Keyboard shortcuts

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