Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client for etherscan
func NewEtherscanService ¶
NewEtherscanService is the constructor that creates an etherscanService
type Config ¶
type Config struct { // Need API key to use etherscan, if it's empty etherscan is not used ApiKey string `mapstructure:"ApiKey"` // URL of the etherscan API. Overwritten with a hardcoded URL: // "https://api.etherscan.io/api?module=gastracker&action=gasoracle&apikey=" Url string }
Config structure
Click to show internal directories.
Click to hide internal directories.