tezosnodes

package
v0.0.0-...-80b2b3e Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

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

func New

func New() *API

func (*API) GetBakers

func (api *API) GetBakers() (thirdPartyBakers []models.ThirdPartyBaker, err error)

type Baker

type Baker struct {
	Rank       int     `json:"rank"`
	Name       string  `json:"name"`
	Address    string  `json:"address"`
	Fee        float64 `json:"fee"`
	Yield      float64 `json:"yield"`
	Efficiency float64 `json:"efficiency"`
	Freespace  int64   `json:"freespace"`
}

Jump to

Keyboard shortcuts

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