Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBlockRetriever ¶
Types ¶
type BlockRetriever ¶
type BlockRetriever interface { RetrieveFirstBlock(contractAddr string) (int64, error) RetrieveMostRecentBlock() (int64, error) }
Block retriever is used to retrieve the first block for a given contract and the most recent block It requires a vDB synced database with blocks, transactions, receipts, and logs
Click to show internal directories.
Click to hide internal directories.