Ethers.js ganha tempo
const blockNumber = await ethers.provider.getBlockNumber();
const {timestamp} = await ethers.provider.getBlock(blockNumber)
Talented Tapir
const blockNumber = await ethers.provider.getBlockNumber();
const {timestamp} = await ethers.provider.getBlock(blockNumber)