Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Indexer ¶
type Indexer struct {
// contains filtered or unexported fields
}
Indexer struct holds the configuration and state for the Ethereum chain listener.
func NewIndexer ¶
func NewIndexer(rpcURL, beaconURL, networkName, contractAddress string, pastEvents bool, startBlockNumber *big.Int) *Indexer
NewIndexer creates a new Indexer instance.
func (*Indexer) HandleEvent ¶
HandleEvent handles the incoming Ethereum event.
Click to show internal directories.
Click to hide internal directories.