diff options
author | Péter Szilágyi <peterke@gmail.com> | 2018-07-24 17:52:16 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-24 17:52:16 +0800 |
commit | 21c059b67ef4da979db3d66bd021a72112b35419 (patch) | |
tree | 70881528b2f4ab1b36b4892f9e92cefc753e6d55 /interfaces.go | |
parent | 9e24491c65120d3fb36da45e57a0cb87c549f621 (diff) | |
parent | e1f1d3085c6b868de93313700cac8a325e9b148b (diff) | |
download | dexon-21c059b67ef4da979db3d66bd021a72112b35419.tar dexon-21c059b67ef4da979db3d66bd021a72112b35419.tar.gz dexon-21c059b67ef4da979db3d66bd021a72112b35419.tar.bz2 dexon-21c059b67ef4da979db3d66bd021a72112b35419.tar.lz dexon-21c059b67ef4da979db3d66bd021a72112b35419.tar.xz dexon-21c059b67ef4da979db3d66bd021a72112b35419.tar.zst dexon-21c059b67ef4da979db3d66bd021a72112b35419.zip |
Merge pull request #16734 from reductionista/eip234
eth/filters, interfaces: EIP-234 Add blockHash option to eth_getLogs
Diffstat (limited to 'interfaces.go')
-rw-r--r-- | interfaces.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/interfaces.go b/interfaces.go index a8b48c93d..26b0fcbc1 100644 --- a/interfaces.go +++ b/interfaces.go @@ -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 |