static async Task TestContractsAsync() { Console.WriteLine("Testing Contracts..."); var platforms = await _client.GetContractPlatformsAsync(); if (platforms.Error == null) { Console.WriteLine($"Received {platforms.Value.Count} results:"); foreach (var platform in platforms.Value) { Console.WriteLine(platform); } Console.WriteLine("Fetching contract addresses of Neo ...."); var addresses = await _client.GetContractAddressesForPlatform("neo-neo"); if (addresses.Error == null) { Console.WriteLine($"Found {addresses.Value.Count} contract adresses:"); foreach (var address in addresses.Value) { Console.WriteLine($"{address.Id} - {address.Address}"); } } } Console.ReadLine(); Console.WriteLine("Bye!"); }