コード例 #1
0
        public override async Task <HexBigInteger> ExecuteAsync(IClient client)
        {
            var ethGetBlockTransactionCountByHash = new EthGetBlockTransactionCountByHash(client);

            return
                (await
                 ethGetBlockTransactionCountByHash.SendRequestAsync(Settings.GetBlockHash()));
        }
コード例 #2
0
        public async Task <dynamic> ExecuteTestAsync(RpcClient client)
        {
            var ethGetBlockTransactionCountByHash = new EthGetBlockTransactionCountByHash(client);

            return
                (await
                 ethGetBlockTransactionCountByHash.SendRequestAsync(
                     "0xb903239f8543d04b5dc1ba6579132b143087c68db1b2168786408fcbce568238"));
        }
コード例 #3
0
 public async Task<dynamic> ExecuteTestAsync(RpcClient client)
 {
     var ethGetBlockTransactionCountByHash = new EthGetBlockTransactionCountByHash(client);
     return await ethGetBlockTransactionCountByHash.SendRequestAsync( "0xb903239f8543d04b5dc1ba6579132b143087c68db1b2168786408fcbce568238");
 }