internal/web3ext: add eth.getLogs wrapper (#24297)

This commit is contained in:
Sina Mahmoodi 2022-01-27 10:56:04 +01:00 committed by GitHub
parent e282246a4b
commit a9885505ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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({