Skip to content

Commit

Permalink
internal/web3ext: add eth.getLogs wrapper (ethereum#24297)
Browse files Browse the repository at this point in the history
  • Loading branch information
s1na authored and jagdeep sidhu committed Jan 28, 2022
1 parent 5bed27a commit 3158e1f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions internal/web3ext/web3ext.go
Original file line number Diff line number Diff line change
Expand Up @@ -576,6 +576,11 @@ web3._extend({
params: 3,
inputFormatter: [null, web3._extend.formatters.inputBlockNumberFormatter, null]
}),
new web3._extend.Method({
name: 'getLogs',
call: 'eth_getLogs',
params: 1,
}),
],
properties: [
new web3._extend.Property({
Expand Down

0 comments on commit 3158e1f

Please sign in to comment.