Opened this issue 2 years ago · 0 comments
import { createAlchemyWeb3 } from '@alch/alchemy-web3' // Using HTTPS const web3 = createAlchemyWeb3("https://eth-goerli.g.alchemy.com/v2/xxx"); web3.eth.getBlock("latest").then(block => { console.log('block,',block) });