diff options
author | Domino Valdano <dominoplural@gmail.com> | 2018-05-12 17:20:46 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2018-07-12 23:16:32 +0800 |
commit | 96339daf40989072ff2a9e8b476da6698da45dc7 (patch) | |
tree | dd1d0dba7a4ac7071378cf06983dc68ce5b40f9d /interfaces.go | |
parent | e8824f6e7409a2064b1165c5b6cc6b2d390573ce (diff) | |
download | dexon-96339daf40989072ff2a9e8b476da6698da45dc7.tar dexon-96339daf40989072ff2a9e8b476da6698da45dc7.tar.gz dexon-96339daf40989072ff2a9e8b476da6698da45dc7.tar.bz2 dexon-96339daf40989072ff2a9e8b476da6698da45dc7.tar.lz dexon-96339daf40989072ff2a9e8b476da6698da45dc7.tar.xz dexon-96339daf40989072ff2a9e8b476da6698da45dc7.tar.zst dexon-96339daf40989072ff2a9e8b476da6698da45dc7.zip |
eth/filters, ethereum: EIP-234 add blockHash param for 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 |