Is using eth_getLogs
the same as eth.getPastLogs
in the web3js
library?
Wondering what the difference is and when should they be used?
These functions are the same. The function getPastLogs()
internally just calls getLogs()
(with one default return type).