internal/web3ext: add eth_getLogs to console #24297 (#1328)

This commit is contained in:
Daniel Liu 2025-08-08 10:37:46 +08:00 committed by GitHub
parent a2cf4e3111
commit 2539836ede
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -561,6 +561,11 @@ web3._extend({
params: 3,
inputFormatter: [null, web3._extend.formatters.inputBlockNumberFormatter, null]
}),
new web3._extend.Method({
name: 'getLogs',
call: 'eth_getLogs',
params: 1,
}),
new web3._extend.Method({
name: 'getBlockReceipts',
call: 'eth_getBlockReceipts',
@ -711,7 +716,7 @@ web3._extend({
call: 'XDCx_sendLendingRawTransaction',
params: 1
}),
new web3._extend.Method({
name: 'sendOrderTransaction',
call: 'XDCx_sendOrder',