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 ¶
GetLatestBlock from blockchain
func GetTxByHash ¶
GetTxByHash by a given hash
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.