Function balanceOf

  • Returns account balance of assetID. Returns 0 if the account has not opt-in to the given asset id.

    Parameters

    • deployer: Deployer

      algob deployer

    • accountAddress: string

      account to return assetholding info

    • Optional assetID: number

      asset index. If assetID is undefined the account algo balance will return

    Returns Promise<number | bigint>

Generated using TypeDoc