wallet

package
v0.1.12 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2022 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Balance

type Balance struct {
	SLP  uint64
	WETH uint64
	AXS  uint64
	RON  uint64
}

type Client

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

func New

func New() (*Client, error)

func (*Client) CreateWallet added in v0.1.7

func (c *Client) CreateWallet() (*Wallet, error)

func (*Client) GetAXS

func (c *Client) GetAXS(addr string) (uint64, error)

func (*Client) GetAllBalance

func (c *Client) GetAllBalance(addr string) (Balance, error)

func (*Client) GetRON added in v0.1.3

func (c *Client) GetRON(addr string) (uint64, error)

func (*Client) GetSLP

func (c *Client) GetSLP(addr string) (uint64, error)

func (*Client) GetWETH

func (c *Client) GetWETH(addr string) (uint64, error)

type Wallet added in v0.1.7

type Wallet struct {
	PrivateKey string
	PublicKey  string
	Address    string
}

Jump to

Keyboard shortcuts

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