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

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

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

            Assert.AreEqual(HttpStatusCode.OK, status);

            Assert.IsNotNull(result);
        }