clictx

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 13, 2021 License: Apache-2.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 {
	sdkclient.Context
}

Client wraps Cosmos SDK client context.

func NewClient

func NewClient(rpcURL string, rpcClient rpcclient.Client) *Client

NewClient creates Cosmos SDK client.

func (*Client) GetAccount

func (c *Client) GetAccount(address string) (sdkclient.Account, error)

GetAccount checks account type and returns account interface.

Jump to

Keyboard shortcuts

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