### Question:
DelegateContract extends BaseContract { public RemoteCall<CallResponse<Delegation>> getDelegateInfo(String nodeId, String delAddr, BigInteger stakingBlockNum) { Function function = new Function(FunctionType.GET_DELEGATEINFO_FUNC_TYPE, Arrays.asList(new Uint64(stakingBlockNum) , new BytesType(Bech32.addressDecode(delAddr)) , new BytesType(Numeric.hexStringToByteArray(nodeId)))); return executeRemoteCallObjectValueReturn(function, Delegation.class); } private  DelegateContract(String contractAddress, Web3j web3j); private  DelegateContract(String contractAddress, long chainId, Web3j web3j, Credentials credentials); private  DelegateContract(String contractAddress, Web3j web3j, TransactionManager transactionManager); static DelegateContract load(Web3j web3j, long chainId); static DelegateContract load(Web3j web3j, TransactionManager transactionManager, long chainId); static DelegateContract load(Web3j web3j, Credentials credentials, long chainId); RemoteCall<TransactionResponse> delegate(String nodeId, StakingAmountType stakingAmountType, BigInteger amount); RemoteCall<TransactionResponse> delegate(String nodeId, StakingAmountType stakingAmountType, BigInteger amount, GasProvider gasProvider); GasProvider getDelegateGasProvider(String nodeId, StakingAmountType stakingAmountType, BigInteger amount); RemoteCall<PlatonSendTransaction> delegateReturnTransaction(String nodeId, StakingAmountType stakingAmountType, BigInteger amount); RemoteCall<PlatonSendTransaction> delegateReturnTransaction(String nodeId, StakingAmountType stakingAmountType, BigInteger amount, GasProvider gasProvider); RemoteCall<TransactionResponse> unDelegate(String nodeId, BigInteger stakingBlockNum, BigInteger amount); RemoteCall<TransactionResponse> unDelegate(String nodeId, BigInteger stakingBlockNum, BigInteger amount, GasProvider gasProvider); GasProvider getUnDelegateGasProvider(String nodeId, BigInteger stakingBlockNum, BigInteger amount); RemoteCall<PlatonSendTransaction> unDelegateReturnTransaction(String nodeId, BigInteger stakingBlockNum, BigInteger amount); RemoteCall<PlatonSendTransaction> unDelegateReturnTransaction(String nodeId, BigInteger stakingBlockNum, BigInteger amount, GasProvider gasProvider); BigInteger decodeUnDelegateLog(TransactionReceipt transactionReceipt); RemoteCall<CallResponse<Delegation>> getDelegateInfo(String nodeId, String delAddr, BigInteger stakingBlockNum); RemoteCall<CallResponse<List<DelegationIdInfo>>> getRelatedListByDelAddr(String address);  }### Answer:
@Test public void getDelegateInfo() { try { CallResponse<Delegation> baseResponse = delegateContract.getDelegateInfo(nodeId, deleteCredentials.getAddress(chainId), stakingNb).send(); System.out.println(baseResponse); } catch (Exception e) { e.printStackTrace(); } }