modules

package
v0.0.0-...-38b6c1a Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAddressBalance

func GetAddressBalance(client ethclient.Client, address string) (string, error)

GetAddressBalance returns the given address balance

func GetLatestBlock

func GetLatestBlock(client ethclient.Client) *Models.Block

GetLatestBlock from blockchain

func GetTxByHash

func GetTxByHash(client ethclient.Client, hash common.Hash) *Models.Transaction

GetTxByHash by a given hash

func TransferEth

func TransferEth(client ethclient.Client, privKey string, to string, amount int64) (string, error)

TransferEth from one account to another

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳