Can anyone explain or point me to a specific source where I can learn about .providers functions. In particular I am trying to understand what this block of code does:
for (let i = 0; i < 257; i++) {
await ethers.provider.send("evm_increaseTime", [1]);
await ethers.provider.send("evm_mine", []);
console.log(await ethers.provider.getBlockNumber());
}
I've tried searchintg the etherjs library but I can't search specific info for providers.* functions. Maybe I just don't know how to use the documentation search properly.
Furthermore, I've tried running it with an Alchemy API, apparently the method is unsupported. Is there an equivalent method?