staking

package
v1.1.16-0...-5f6d184 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2021 License: MIT Imports: 3 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 {
	client.Request
}

func InitClient

func InitClient(url string) Client

func (*Client) GetValidators

func (c *Client) GetValidators() (validators Validators, err error)

type Validator

type Validator struct {
	Validator string  `json:"validator"`
	Status    int     `json:"status"`
	APR       float64 `json:"apr"`
}

type Validators

type Validators struct {
	Total      int         `json:"total"`
	Validators []Validator `json:"validators"`
}

Jump to

Keyboard shortcuts

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