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); }