ethereum

package
v0.0.0-...-32dec47 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2023 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetBalance

func GetBalance(mnemonic string) (*big.Int, error)

func GetChainId

func GetChainId() (int, error)

func GetERC20Balance

func GetERC20Balance(mnemonic string, contractAddr common.Address) (*big.Int, error)

func GetNetworkInfo

func GetNetworkInfo() (*networkInfo, error)

func GetPath

func GetPath() string

func GetRpcUrl

func GetRpcUrl() string

func GetWalletAddres

func GetWalletAddres(mnemonic string) (string, error)

func Transfer

func Transfer(mnemonic string, to common.Address, value big.Int) (string, error)

func TransferERC20

func TransferERC20(mnemonic string, toAddress common.Address, contractAddr common.Address, amount big.Int) (string, error)

func TransferERC721

func TransferERC721(mnemonic string, toAddress common.Address, contractAddr common.Address, tokenId big.Int) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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