public async Task testGetBlock() { Block block = await BlocksApi.getBlock(3395); block.Height.ShouldBe(3395); block.Transactions.Count.ShouldBe(1); }
public async Task testGetBlockByTransactionId() { IList <int> list = await BlocksApi.getBlocksByTransactionIdAsync("4957744b3ac54434b8270f2c854cc1040228c82ea4e72d66d2887a4d3e30b317"); list.Count.ShouldBe(1); }