utxo

package
v1.133.0 Latest Latest
Warning

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

Go to latest
Published: May 22, 2024 License: MIT Imports: 38 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 {
	sync.Mutex
	// contains filtered or unexported fields
}

func (*Client) BroadcastTx

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

func (*Client) GetAccount

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

func (*Client) SignContractTx added in v1.133.0

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