package
1.1.6
Repository: https://github.com/mover-code/golang-web3.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
NewJSONBlockTracker creates a new json block tracker.
NewSubscriptionBlockTracker creates a new block tracker using the subscription endpoint.
No description provided by the author
No description provided by the author

# Constants

EventAdd happens when a new event is included in the chain.
EventDel may happen when there is a reorg and a past event is deleted.

# Structs

BlockEvent is an event emitted when a new block is included.
BlockTracker is an interface to track new blocks on the chain.
No description provided by the author
Event is an event emitted when a new log is included.
JSONBlockTracker implements the BlockTracker interface using the http jsonrpc endpoint.
No description provided by the author
SubscriptionBlockTracker is an interface to track new blocks using the newHeads subscription endpoint.

# Interfaces

BlockProvider are the eth1x methods required by the block tracker.
No description provided by the author

# Type aliases

No description provided by the author
EventType is the type of the event.