public async Task Should_Return_BlockInfo_By_Height()
        {
            using (var httpTest = new HttpTest())
            {
                var fakeJson =
                    TestHelper.LoadJsonFileToObject(@"Testdata\\Block\\BlockByHeight.json");

                httpTest.RespondWithJson(fakeJson);

                var blockInfo = await _blockchainHttp.GetBlockByHeight(12423);

                blockInfo.Hash.Should().BeEquivalentTo("0C88E34B34CDBDF2209E7CB568F9D1A9FBF47C566B71496758A6C76652AD3974");
                blockInfo.GenerationHash.Should().BeEquivalentTo("7C175E628183275364959BEA811897111C5AFCA014DD991FC0D87AD7C16BB41F");
                blockInfo.TotalFee.Should().Be(0);
                blockInfo.PreviousBlockHash.Should().BeEquivalentTo("22E94FC588AE3A05003FD887BF3E22B8D1EF9645EDD71EE75C7C74CD11B43B57");
                blockInfo.BlockTransactionsHash.Should().BeEquivalentTo("0000000000000000000000000000000000000000000000000000000000000000");
                blockInfo.BlockReceiptsHash.Should().BeEquivalentTo("4B92740450C7FB9027AFF3E38625274211A166A820CF41E796F6808C52968F4C");
                blockInfo.Version.Should().Be(3);
                blockInfo.NetworkType.Should().Be(NetworkType.MIJIN_TEST);
            }
        }
        public async Task Should_Return_BlockInfo_By_Height()
        {
            using (var httpTest = new HttpTest())
            {
                var fakeJson =
                    TestHelper.LoadJsonFileToObject(@"Testdata\\Block\\BlockByHeight.json");

                httpTest.RespondWithJson(fakeJson);

                var blockInfo = await _blockchainHttp.GetBlockByHeight(1);

                blockInfo.Hash.Should().BeEquivalentTo("1A94C1BA04CF1217883F2E349AEE75D691BA1117C1143D8616E4D3AE4C278696");
                blockInfo.GenerationHash.Should().BeEquivalentTo("943CC0B70D0ACB0A1C1C6809055719BC170AFDD29F22930266E6ED70ECF6B13B");
                blockInfo.TotalFee.Should().Be(0);
                blockInfo.PreviousBlockHash.Should().BeEquivalentTo("AC87FDA8FD94B72F3D0790A7D62F248111BD5E37B95B16E4216DA99C212530A5");
                blockInfo.BlockTransactionsHash.Should().BeEquivalentTo("0000000000000000000000000000000000000000000000000000000000000000");
                blockInfo.BlockReceiptsHash.Should().BeEquivalentTo("F6C9D6BF16DA02372AE28B9C5C94A355A2C32F32616764FE007A7FCBBE58BDE9");
                //  blockInfo.BlockStateHash.Should().BeEquivalentTo("A114AAADE77B2EFBC8F5EB6876311F4C6920C9EECA099495BA3B9B0BB4B8AE47");
                blockInfo.NetworkType.Should().Be(NetworkType.TEST_NET);
            }
        }
 public IObservable <BlockInfo> GetNemesisBlockInfo()
 {
     return(BlockHttp.GetBlockByHeight(1));
 }