publicasyncTaskAccountsClientExample3(){var accountsClient =newAccountsClient(newHttpHandler()); // Request all Accounts that are controlled by an individual Account var tokens = await accountsClient.GetTokensAsync(account: "someaccount", cancellationToken: CancellationToken.None);
// Print the Account Name of the Token OwnerConsole.WriteLine(tokens.Account);foreach (var token intokens.Tokens) { // Print all Tokens Console.WriteLine($"{token.Amount}{token.Symbol} of contract {token.Contract} with precision {token.Precision}");
}}