etherscan

package
v0.0.0-...-a58d1de Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2020 License: MIT Imports: 8 Imported by: 2

Documentation

Index

Constants

View Source
const (
	API = "https://api.etherscan.io/api"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type EtherScan

type EtherScan struct {
	ApiKey string
}

EtherScan API data

func New

func New(apiKey string) *EtherScan

New create new EtherScan API data

func (*EtherScan) GetBalance

func (es *EtherScan) GetBalance(addr string) (*big.Float, error)

func (*EtherScan) GetBlockNumber

func (es *EtherScan) GetBlockNumber() (int64, error)

Jump to

Keyboard shortcuts

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