etherscan

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2018 License: MIT Imports: 8 Imported by: 0

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