cosmos

package
v0.0.0-...-f8fb21d Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2024 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient

func NewClient(chain common.Chain, host string, keys *thorclient.Keys) (LiteChainClient, error)

func NewConstructor

func NewConstructor(host string) LiteChainClientConstructor

Types

type Client

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

func (*Client) BroadcastTx

func (c *Client) BroadcastTx(signed []byte) (string, error)

func (*Client) GetAccount

func (c *Client) GetAccount(pk *common.PubKey) (*common.Account, error)

func (*Client) SignContractTx

func (c *Client) SignContractTx(SimContractTx) ([]byte, error)

func (*Client) SignTx

func (c *Client) SignTx(tx SimTx) ([]byte, error)

Jump to

Keyboard shortcuts

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