mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-17 13:36:37 +00:00
internal/web3ext: add eth.getLogs wrapper (#24297)
This commit is contained in:
parent
e282246a4b
commit
a9885505ca
1 changed files with 5 additions and 0 deletions
|
|
@ -576,6 +576,11 @@ web3._extend({
|
||||||
params: 3,
|
params: 3,
|
||||||
inputFormatter: [null, web3._extend.formatters.inputBlockNumberFormatter, null]
|
inputFormatter: [null, web3._extend.formatters.inputBlockNumberFormatter, null]
|
||||||
}),
|
}),
|
||||||
|
new web3._extend.Method({
|
||||||
|
name: 'getLogs',
|
||||||
|
call: 'eth_getLogs',
|
||||||
|
params: 1,
|
||||||
|
}),
|
||||||
],
|
],
|
||||||
properties: [
|
properties: [
|
||||||
new web3._extend.Property({
|
new web3._extend.Property({
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue