lcd

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	UriQueryAccount = "/bank/accounts/%s"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountInfo

type AccountInfo struct {
	Type  string           `json:"type"`
	Value AccountInfoValue `json:"value"`
}

type AccountInfoValue

type AccountInfoValue struct {
	AccountNumber string       `json:"account_number"`
	Address       string       `json:"address"`
	Sequence      string       `json:"sequence"`
	Coins         []types.Coin `json:"coins"`
}

type LiteClient

type LiteClient interface {
	QueryAccount(address string) (AccountInfo, error)
}

func NewClient

func NewClient(c basic.HttpClient) LiteClient

Jump to

Keyboard shortcuts

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