MCPcopy Create free account
hub / github.com/Dstack-TEE/dstack / accountBalance

Function accountBalance

kms/auth-eth/lib/deployment-helpers.ts:53–57  ·  view source on GitHub ↗
(ethers: any, address: string)

Source from the content-addressed store, hash-verified

51 * Get and display account information
52 */
53export async function accountBalance(ethers: any, address: string) {
54 return ethers.formatEther(
55 await ethers.provider.getBalance(address)
56 );
57}
58
59/**
60 * Estimate and display deployment costs

Callers 1

hardhat.config.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected