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

Method getChainBalance

utils/provider.js:41–43  ·  view source on GitHub ↗
(address, blockTag = "latest")

Source from the content-addressed store, hash-verified

39 }
40
41 async getChainBalance(address, blockTag = "latest") {
42 return await this.provider.getBalance(address, blockTag);
43 }
44
45 async getTokenBalance(address, contract, blockTag = "latest") {
46 const balanceOfAbi = [{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected