diff --git a/src/main/java/org/web3j/quorum/tx/ClientTransactionManager.java b/src/main/java/org/web3j/quorum/tx/ClientTransactionManager.java index fe23048..40ff296 100644 --- a/src/main/java/org/web3j/quorum/tx/ClientTransactionManager.java +++ b/src/main/java/org/web3j/quorum/tx/ClientTransactionManager.java @@ -19,6 +19,7 @@ import org.web3j.protocol.Web3j; import org.web3j.protocol.core.DefaultBlockParameter; import org.web3j.protocol.core.methods.request.Transaction; +import org.web3j.protocol.core.methods.response.EthGetCode; import org.web3j.protocol.core.methods.response.EthSendTransaction; import org.web3j.quorum.Quorum; import org.web3j.quorum.methods.request.PrivateTransaction; @@ -117,4 +118,10 @@ public String sendCall(String to, String data, DefaultBlockParameter defaultBloc .send() .getValue(); } + + @Override + public EthGetCode getCode(String contractAddress, DefaultBlockParameter defaultBlockParameter) + throws IOException { + return quorum.ethGetCode(contractAddress, defaultBlockParameter).send(); + } }