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

Method getChainId

kms/auth-eth/src/ethereum.ts:66–69  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

64 }
65
66 async getChainId(): Promise<number> {
67 const chainId = await this.provider.getNetwork().then((network) => network.chainId);
68 return Number(chainId);
69 }
70
71 async getAppImplementation(): Promise<string> {
72 return await this.kmsContract.appImplementation();

Callers 1

buildFunction · 0.45

Calls 1

NumberInterface · 0.85

Tested by

no test coverage detected