public override async Task <HexBigInteger> ExecuteAsync(IClient client) { var ethGetBlockTransactionCountByHash = new EthGetBlockTransactionCountByHash(client); return (await ethGetBlockTransactionCountByHash.SendRequestAsync(Settings.GetBlockHash())); }
public async Task <dynamic> ExecuteTestAsync(RpcClient client) { var ethGetBlockTransactionCountByHash = new EthGetBlockTransactionCountByHash(client); return (await ethGetBlockTransactionCountByHash.SendRequestAsync( "0xb903239f8543d04b5dc1ba6579132b143087c68db1b2168786408fcbce568238")); }
public EthApiBlockService(IClient client) : base(client) { GetBlockNumber = new EthBlockNumber(client); GetBlockTransactionCountByHash = new EthGetBlockTransactionCountByHash(client); GetBlockTransactionCountByNumber = new EthGetBlockTransactionCountByNumber(client); GetBlockWithTransactionsByHash = new EthGetBlockWithTransactionsByHash(client); GetBlockWithTransactionsByNumber = new EthGetBlockWithTransactionsByNumber(client); GetBlockWithTransactionsHashesByHash = new EthGetBlockWithTransactionsHashesByHash(client); GetBlockWithTransactionsHashesByNumber = new EthGetBlockWithTransactionsHashesByNumber(client); }
public EthBlockService(RpcClient client) : base(client) { GetBlockNumber = new EthBlockNumber(client); GetBlockTransactionCountByHash = new EthGetBlockTransactionCountByHash(client); GetBlockTransactionCountByNumber = new EthGetBlockTransactionCountByNumber(client); GetBlockWithTransactionsByHash = new EthGetBlockWithTransactionsByHash(client); GetBlockWithTransactionsByNumber = new EthGetBlockWithTransactionsByNumber(client); GetBlockWithTransactionsHashesByHash = new EthGetBlockWithTransactionsHashesByHash(client); GetBlockWithTransactionsHashesByNumber = new EthGetBlockWithTransactionsHashesByNumber(client); }
public async Task<dynamic> ExecuteTestAsync(RpcClient client) { var ethGetBlockTransactionCountByHash = new EthGetBlockTransactionCountByHash(client); return await ethGetBlockTransactionCountByHash.SendRequestAsync( "0xb903239f8543d04b5dc1ba6579132b143087c68db1b2168786408fcbce568238"); }