eth/filters, ethereum: EIP-234 add blockHash param for eth_getLogs
This commit is contained in:
@@ -131,6 +131,7 @@ type ContractCaller interface {
|
||||
|
||||
// FilterQuery contains options for contract log filtering.
|
||||
type FilterQuery struct {
|
||||
BlockHash *common.Hash // used by eth_getLogs, return logs only from block with this hash
|
||||
FromBlock *big.Int // beginning of the queried range, nil means genesis block
|
||||
ToBlock *big.Int // end of the range, nil means latest block
|
||||
Addresses []common.Address // restricts matches to events created by specific contracts
|
||||
|
||||
Reference in New Issue
Block a user