await myContract.getPastEvents('Transfer', {
filter: { address: address}, // Using an array means OR: e.g. 20 or 23
fromBlock: 13444120,
toBlock: 'latest'
}, function(error, events){ })
.then(function(events){
console.log("%j", events); // same results as the optional callback above
});
Hello sirs, idk what to do from here. this is using bsc chain.
if I scan from 0, it crashes on me. plz help. I can get latest block for the entire chain, then reduce and look until I find a block for that address. I am new to web3.
My entire approach may be wrong. plz advise
on poo coin they use https://bsc-dataseed1.ninicoin.io/