Пример #1
0
        public async Task <object> ExecuteTestAsync(IClient client)
        {
            var ethGetTransactionByBlockHashAndIndex = new EthGetTransactionByBlockHashAndIndex(client);

            return
                ((object)
                 await
                 ethGetTransactionByBlockHashAndIndex.SendRequestAsync(
                     "0xe670ec64341771606e55d6b4ca35a1a6b75ee3d5145a99d05921026d1527331", 0));
        }
 public async Task<dynamic> ExecuteTestAsync(RpcClient client)
 {
     var ethGetTransactionByBlockHashAndIndex = new EthGetTransactionByBlockHashAndIndex(client);
     return (object)await ethGetTransactionByBlockHashAndIndex.SendRequestAsync( "0xe670ec64341771606e55d6b4ca35a1a6b75ee3d5145a99d05921026d1527331", 0);
 }
Пример #3
0
        public override async Task <Transaction> ExecuteAsync(IClient client)
        {
            var ethGetTransactionByBlockHashAndIndex = new EthGetTransactionByBlockHashAndIndex(client);

            return(await ethGetTransactionByBlockHashAndIndex.SendRequestAsync(Settings.GetBlockHash(), new HexBigInteger(0)));
        }