Documentation ¶
Index ¶
- func ConvertWeiBalanceToEthValue(weiBalance *big.Int) *big.Float
- func GetBalanceForAccount(client *ethclient.Client, address common.Address, blockNumber ...int64) (balance *big.Int, err error)
- func GetPendingBalanceForAccount(client *ethclient.Client, address common.Address) (pendingBalance *big.Int, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertWeiBalanceToEthValue ¶
ConvertWeiBalanceToEthValue convert wei to ethereum with formula: ETH = wei / 10^18
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.