Open FournyP opened 1 year ago
Hi,
I've improved the GetLogs function because some of mandatory parameters are not mandatory for the etherscan API (e.g: toBlock, fromBlock and topic).
toBlock
fromBlock
topic
I've also add missing parameter page and offset.
page
offset
Tests execution:
Feel free to ask me any change in my codebase
Have a good day ;)
Hi, @FournyP , thanks for your contribution!
I would love to see it merged but we cannot alter an existed API. I recommend to implement it as a new method GetLogsByAddr(or choose a name in your flavor).
GetLogsByAddr
Cheers.
Hi,
I've improved the GetLogs function because some of mandatory parameters are not mandatory for the etherscan API (e.g:
toBlock
,fromBlock
andtopic
).I've also add missing parameter
page
andoffset
.Tests execution:
Feel free to ask me any change in my codebase
Have a good day ;)