コード例 #1
0
 public NeoApiBlockService(IClient client) : base(client)
 {
     GetBestBlockHash   = new NeoGetBestBlockHash(client);
     GetBlock           = new NeoGetBlock(client);
     GetBlockSerialized = new NeoGetBlockSerialized(client);
     GetBlockCount      = new NeoGetBlockCount(client);
     GetBlockHash       = new NeoGetBlockHash(client);
 }
コード例 #2
0
        public override async Task <string> ExecuteAsync(IClient client)
        {
            var blockSerialized = new NeoGetBlockSerialized(client);

            return(await blockSerialized.SendRequestAsync(1005434));
        }