diff --git a/ethereum/jsonrpc/src/main/java/tech/pegasys/pantheon/ethereum/jsonrpc/internal/queries/BlockchainQueries.java b/ethereum/jsonrpc/src/main/java/tech/pegasys/pantheon/ethereum/jsonrpc/internal/queries/BlockchainQueries.java index 9c2a0d22ac..1fcb9b8e45 100644 --- a/ethereum/jsonrpc/src/main/java/tech/pegasys/pantheon/ethereum/jsonrpc/internal/queries/BlockchainQueries.java +++ b/ethereum/jsonrpc/src/main/java/tech/pegasys/pantheon/ethereum/jsonrpc/internal/queries/BlockchainQueries.java @@ -97,17 +97,6 @@ public class BlockchainQueries { .orElse(UInt256.ZERO)); } - /** - * Returns the nonce of the given account at a specific block number. - * - * @param address The address of the account being queried. - * @param blockNumber The block number being queried. - * @return The nonce of the account. - */ - public UInt256 getAccountNonce(final Address address, final long blockNumber) { - throw new UnsupportedOperationException(); - } - /** * Returns the balance of the given account at a specific block number. * @@ -180,15 +169,6 @@ public class BlockchainQueries { .orElse(-1); } - /** - * Returns the number of transactions in the latest block. - * - * @return The number of transactions contained in the latest block. - */ - public Optional getTransactionCount() { - throw new UnsupportedOperationException(); - } - /** * Returns the number of transactions sent from the given address in the block at the given * height. @@ -469,16 +449,6 @@ public class BlockchainQueries { txs.get(txIndex), header.getNumber(), blockHeaderHash, txIndex); } - /** - * Returns the transaction at the given index for the latest block. - * - * @param txIndex The index of the transaction to return. - * @return The transaction at the specified location. - */ - public Optional transactionByIndex(final int txIndex) { - throw new UnsupportedOperationException(); - } - /** * Returns the transaction receipt associated with the given transaction hash. *