client

package
v0.0.0-...-afa96fb Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const DEAD = "0x0000000000000000000000000000000000000000"

Variables

This section is empty.

Functions

func PrintJson

func PrintJson(data any)

Types

type Client

type Client struct {
	Eth *ethclient.Client
	// contains filtered or unexported fields
}

func Get

func Get() *Client

func (*Client) Balance

func (c *Client) Balance() (*big.Int, error)

func (*Client) GetTx

func (c *Client) GetTx(txAddress string) (*types.Transaction, error)

func (*Client) SendTx

func (c *Client) SendTx() (*types.Transaction, error)

this method will be a mock to run on ganache

Jump to

Keyboard shortcuts

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