private void CoinSupplyLive() { var apiInstance = new DefaultApi(nodeAddress); var cs = apiInstance.CoinSupply(); Assert.NotEmpty(cs.CurrentSupply); Assert.NotEmpty(cs.TotalSupply); Assert.NotEmpty(cs.MaxSupply); Assert.Equal("100000000.000000", cs.MaxSupply); Assert.NotEmpty(cs.CurrentCoinhourSupply); Assert.NotEmpty(cs.TotalCoinhourSupply); Assert.Equal(100, cs.UnlockedDistributionAddresses.Count + cs.LockedDistributionAddresses.Count); }
private void CoinSupplyStable() { var apiInstance = new DefaultApi(nodeAddress); CheckGoldenFile("coinsupply.golden", apiInstance.CoinSupply().ToJson()); }