Versions in this module Expand all Collapse all v2 v2.0.2 Jan 6, 2025 v2.0.1 Jan 6, 2025 v2.0.0 Jan 6, 2025 Changes in this version + func ReadResponse[T EtherscanResponse](content bytes.Buffer) (T, error) + type AccountBalance struct + Account string + Balance *types.BigInt + type BlockRewards struct + BlockMiner string + BlockNumber int + BlockReward *types.BigInt + TimeStamp types.Time + UncleInclusionReward *types.BigInt + Uncles []struct{ ... } + type ContractSource struct + ABI string + CompilerVersion string + ConstructorArguments string + ContractName string + EVMVersion string + Implementation string + Library string + LicenseType string + OptimizationUsed int + Proxy string + Runs int + SourceCode string + SwarmSource string + type ERC1155Transfer struct + BlockHash string + BlockNumber int + ContractAddress string + From string + Hash string + Input string + TimeStamp types.Time + To string + TokenName string + TokenSymbol string + func (tx ERC1155Transfer) GetBlockNumber() int + func (tx ERC1155Transfer) GetHash() string + type ERC20Transfer struct + BlockHash string + BlockNumber int + Confirmations int + ContractAddress string + CumulativeGasUsed int + From string + Gas int + GasPrice *types.BigInt + GasUsed int + Hash string + Input string + Nonce int + TimeStamp types.Time + To string + TokenDecimal int + TokenName string + TokenSymbol string + TransactionIndex int + Value *types.BigInt + func (tx ERC20Transfer) GetBlockNumber() int + func (tx ERC20Transfer) GetHash() string + type ERC721Transfer struct + BlockHash string + BlockNumber int + Confirmations int + ContractAddress string + CumulativeGasUsed int + From string + Gas int + GasPrice *types.BigInt + GasUsed int + Hash string + Input string + Nonce int + TimeStamp types.Time + To string + TokenDecimal int + TokenID *types.BigInt + TokenName string + TokenSymbol string + TransactionIndex int + func (tx ERC721Transfer) GetBlockNumber() int + func (tx ERC721Transfer) GetHash() string + type EtherscanResponse interface + type EtherscanTx interface + GetBlockNumber func() int + GetHash func() string + type ExecutionStatus struct + ErrDescription string + IsError int + type GasPrices struct + FastGasPrice float64 + GasUsedRatio []float64 + LastBlock int + ProposeGasPrice float64 + SafeGasPrice float64 + SuggestBaseFeeInGwei float64 + func (gp *GasPrices) UnmarshalJSON(data []byte) error + type InternalTx struct + BlockNumber int + ContractAddress string + ErrCode string + From string + Gas int + GasUsed int + Hash string + Input string + IsError int + TimeStamp types.Time + To string + TraceID string + Type string + Value *types.BigInt + func (tx InternalTx) GetBlockNumber() int + func (tx InternalTx) GetHash() string + type LatestPrice struct + ETHBTC float64 + ETHBTCTimestamp types.Time + ETHUSD float64 + ETHUSDTimestamp types.Time + type Log struct + Address string + BlockHash string + BlockNumber string + Data string + LogIndex string + Removed bool + Topics []string + TransactionHash string + type MinedBlock struct + BlockNumber int + BlockReward *types.BigInt + TimeStamp types.Time + type NormalTx struct + BlockHash string + BlockNumber int + Confirmations int + ContractAddress string + CumulativeGasUsed int + From string + Gas int + GasPrice *types.BigInt + GasUsed int + Hash string + Input string + IsError int + Nonce int + TimeStamp types.Time + To string + TransactionIndex int + TxReceiptStatus string + Value *types.BigInt + func (tx NormalTx) GetBlockNumber() int + func (tx NormalTx) GetHash() string + type StatusReponse struct + Status string