Account

package
v0.0.0-...-90f7a23 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAccountAddress

func GetAccountAddress(account accounts.Account) common.Address

func GetAccountAddressBytes

func GetAccountAddressBytes(accountAddress common.Address) []byte

func GetAccountAddressHashHex

func GetAccountAddressHashHex(accountAddress common.Address) string

func GetAccountAddressHex

func GetAccountAddressHex(accountAddress common.Address) string

func GetAccountBalance

func GetAccountBalance(client *ethclient.Client, account common.Address) *big.Int

in wei precision (18 points)

func GetAccountBalanceAtBlockTime

func GetAccountBalanceAtBlockTime(client *ethclient.Client, account common.Address, blockNumber *big.Int) *big.Int

func GetAccountPendingBalance

func GetAccountPendingBalance(client *ethclient.Client, account common.Address) *big.Int

func GetAccountPendingNonce

func GetAccountPendingNonce(client *ethclient.Client, accountAddress common.Address) uint64

func GetAddressFromHex

func GetAddressFromHex(address string) common.Address

Types

This section is empty.

Jump to

Keyboard shortcuts

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