### Question:
SlashContract extends BaseContract { public RemoteCall<CallResponse<String>> checkDoubleSign(DuplicateSignType doubleSignType, String nodeId, BigInteger blockNumber) { Function function = new Function(FunctionType.CHECK_DOUBLESIGN_FUNC_TYPE, Arrays.asList(new Uint32(doubleSignType.getValue()) , new BytesType(Numeric.hexStringToByteArray(nodeId)) , new Uint64(blockNumber))); return executeRemoteCallObjectValueReturn(function, String.class); } private  SlashContract(String contractAddress, Web3j web3j); private  SlashContract(String contractAddress, long chainId, Web3j web3j, Credentials credentials); private  SlashContract(String contractAddress, Web3j web3j, TransactionManager transactionManager); static SlashContract load(Web3j web3j, long chainId); static SlashContract load(Web3j web3j, TransactionManager transactionManager, long chainId); static SlashContract load(Web3j web3j, Credentials credentials, long chainId); RemoteCall<TransactionResponse> reportDoubleSign(DuplicateSignType duplicateSignType, String data); RemoteCall<TransactionResponse> reportDoubleSign(DuplicateSignType duplicateSignType, String data, GasProvider gasProvider); GasProvider getReportDoubleSignGasProvider(DuplicateSignType duplicateSignType, String data); RemoteCall<PlatonSendTransaction> reportDoubleSignReturnTransaction(DuplicateSignType duplicateSignType, String data); RemoteCall<PlatonSendTransaction> reportDoubleSignReturnTransaction(DuplicateSignType duplicateSignType, String data, GasProvider gasProvider); RemoteCall<CallResponse<String>> checkDoubleSign(DuplicateSignType doubleSignType, String nodeId, BigInteger blockNumber);  }### Answer:
@Test public void checkDuplicateSign() { try { BaseResponse baseResponse = slashContract.checkDoubleSign(DuplicateSignType.PREPARE_BLOCK, nodeId, BigInteger.valueOf(583848L)).send(); System.out.println(baseResponse); } catch (Exception e) { e.printStackTrace(); } }