예제 #1
0
        public async Task GetBalance_WhenExecuted_Receives()
        {
            const string fromAddressBech32 = "youcoinkz3kn33ljgdvrh2cuyacn4gv8a3ewcjx4ya87k";

            var client = new CosmosClient(_testChainId, _serverUrl, true);

            var(status, result) = await client.GetBalanceAsync(fromAddressBech32);

            Assert.AreEqual(HttpStatusCode.OK, status);

            Assert.IsNotNull(result);
        }