MCPcopy Create free account
hub / github.com/Bot80926/ethers-scripts / getBlockNumber

Method getBlockNumber

utils/provider.js:16–18  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14 }
15
16 async getBlockNumber() {
17 return await this.provider.getBlockNumber();
18 }
19
20 async getBlock(blockNumber) {
21 // const block = await this.provider.getBlock(blockNumber);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected