Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Backend ¶
type Backend interface { EventBus() *types.EventBus HeaderByHeight(ctx context.Context, blockNr rpc.BlockNumber) (*types.Header, error) GetReceipts(ctx context.Context, blockNr uint64) types.Receipts BloomStatus() (uint64, uint64) ServiceFilter(ctx context.Context, session *bloombits.MatcherSession) }
type Filter ¶
type Filter struct {
// contains filtered or unexported fields
}
Filter can be used to retrieve and filter logs.
type FilterCriteria ¶
type FilterCriteria struct { FromBlock *hexutil.Big `json:"fromBlock"` ToBlock *hexutil.Big `json:"toBlock"` Addresses []common.Address `json:"addrs" gencodec:"required"` Topics [][]common.Hash `json:"topics" gencodec:"required"` }
FilterCriteria represents a request to create a new filter.
func (FilterCriteria) String ¶
func (fc FilterCriteria) String() string
Click to show internal directories.
Click to hide internal directories.