Documentation ¶
Overview ¶
The util package contains utility functions for the Kava gRPC client.
For example, `account.go` includes account-related query helpers. In this file, utilities such as `client.Util.BaseAccount(addr)` is exposed to query an account and return an unpacked `BaseAccount` instance.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Util ¶
type Util struct {
// contains filtered or unexported fields
}
Util contains utility functions for the Kava gRPC client
func (*Util) BaseAccount ¶
func (u *Util) BaseAccount(addr string) (authtypes.BaseAccount, error)
BaseAccount fetches a base account via an address or returns an error if the account is not a base account
Click to show internal directories.
Click to hide internal directories.