MCPcopy Index your code
hub / github.com/Project-DARC/DARC / getTokenOwnerBalance

Method getTokenOwnerBalance

darc-js/src/DARC/DARC.ts:113–115  ·  view source on GitHub ↗

* Return the balance of the owner for the token class. * @param tokenClass the index of the token class. * @param owner the address of the owner. * @returns the balance of the owner for the token class.

(tokenClass: BigInt, owner: string)

Source from the content-addressed store, hash-verified

111 * @returns the balance of the owner for the token class.
112 */
113 async getTokenOwnerBalance(tokenClass: BigInt, owner: string): Promise<BigInt> {
114 return await this.darcContract.getTokenOwnerBalance(tokenClass, owner);
115 }
116
117 /**
118 * Get the DARC plugins.

Calls

no outgoing calls

Tested by

no test coverage detected