示例#1
0
        public async Task Should_Burn_Assets()
        {
            using (Client client = new Client(HOST, USERNAME, PASSWORD))
            {
                Colu.Models.BurnAsset.Request request = new Colu.Models.BurnAsset.Request();
                request.Param.Burn.Add(new Colu.Models.BurnAsset.Burn()
                {
                    Amount = 1, AssetId = "Ua56JfLDxtaHoXWeNYmwPyi3QzuJkFW1H3wjXy"
                });
                var actual = await client.BurnAssetAsync(request);

                Assert.IsNotNull(actual);
            }
        }
 public async Task Should_Burn_Assets()
 {
     using (Client client = new Client(HOST, USERNAME, PASSWORD))
     {
         Colu.Models.BurnAsset.Request request = new Colu.Models.BurnAsset.Request();
         request.Param.Burn.Add(new Colu.Models.BurnAsset.Burn() { Amount = 1, AssetId = "Ua56JfLDxtaHoXWeNYmwPyi3QzuJkFW1H3wjXy" });
         var actual = await client.BurnAssetAsync(request);
         Assert.IsNotNull(actual);
     }
 }