Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetLatestBlockNumber ¶
function to get latest block number
func SendGetReq ¶
Polls etherscan for new transactions records
Types ¶
type BlockLog ¶
type BlockLog struct { Address string `json:"address"` BlockHash string `json:"blockHash"` BlockNumber string `json:"blockNumber"` Data string `json:"data"` GasPrice string `json:"gasPrice"` GasUsed string `json:"gasUsed"` LogIndex string `json:"logIndex"` TimeStamp string `json:"timeStamp"` Topics []string `json:"topics"` TransactionHash string `json:"transactionHash"` TransactionIndex string `json:"transactionIndex"` }
type BlockResponse ¶
Click to show internal directories.
Click to hide internal directories.