Documentation
¶
Index ¶
- func GetAddressBalance(client ethclient.Client, address string) (string, error)
- func GetLatestBlock(client ethclient.Client) *models.Block
- func GetTxByHash(client ethclient.Client, hash common.Hash) *models.Transaction
- func TransferEth(client ethclient.Client, privKey string, to string, amount int64) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAddressBalance ¶
GetAddressBalance returns the given address balance
func GetLatestBlock ¶
Function that will give the information about the block and the transactions embedded in it.
func GetTxByHash ¶
Get Transaction information by Hash
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.