blockchain

package
v0.0.0-...-8ad73b1 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2021 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetBalance

func GetBalance(client *ethclient.Client, address common.Address) *big.Float

getBalance Returns the current balance from the latest block.

func QueryBlockByHeader

func QueryBlockByHeader(client *ethclient.Client, header *types.Header) (*types.Block, error)

func QueryBlockByNumber

func QueryBlockByNumber(client *ethclient.Client, blockNumber *int64) (*types.Block, error)

func QueryLatestBlockHeader

func QueryLatestBlockHeader(client *ethclient.Client) (*types.Header, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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