etherscan

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2022 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetEstimatedGasPrice

func GetEstimatedGasPrice() *big.Int

func MultiAccountBalance

func MultiAccountBalance(wallets models.Wallets) *[]AccountBalance

Types

type AccountBalance

type AccountBalance struct {
	Account string `json:"account"`
	Balance string `json:"balance"`
}

type AccountBalancesResponse

type AccountBalancesResponse struct {
	Response
	Result []AccountBalance `json:"result"`
}

type GasOracle

type GasOracle struct {
	LastBlock       string `json:"LastBlock"`
	SafeGasPrice    string `json:"SafeGasPrice"`
	ProposeGasPrice string `json:"ProposeGasPrice"`
	FastGasPrice    string `json:"FastGasPrice"`
	SuggestBaseFee  string `json:"suggestBaseFee"`
	GasUsedRatio    string `json:"gasUsedRatio"`
}

func GetGasOracle

func GetGasOracle() *GasOracle

type GasOracleResponse

type GasOracleResponse struct {
	Response
	Result GasOracle `json:"result"`
}

type Response

type Response struct {
	Status  string `json:"status"`
	Message string `json:"message"`
}

Jump to

Keyboard shortcuts

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