### Question:
StakingContract extends BaseContract { public RemoteCall<PlatonSendTransaction> updateStakingInfoReturnTransaction(UpdateStakingParam updateStakingParam) { Function function = createUpdateStakingFunction(updateStakingParam); return executeRemoteCallTransactionStep1(function); } private  StakingContract(String contractAddress, Web3j web3j); private  StakingContract(String contractAddress, long chainId, Web3j web3j, Credentials credentials); private  StakingContract(String contractAddress, Web3j web3j, TransactionManager transactionManager); static StakingContract load(Web3j web3j, long chainId); static StakingContract load(Web3j web3j, TransactionManager transactionManager,long chainId); static StakingContract load(Web3j web3j, Credentials credentials, long chainId); RemoteCall<CallResponse<Node>> getStakingInfo(String nodeId); RemoteCall<CallResponse<BigInteger>> getPackageReward(); RemoteCall<CallResponse<BigInteger>> getStakingReward(); RemoteCall<CallResponse<BigInteger>> getAvgPackTime(); RemoteCall<TransactionResponse> staking(StakingParam stakingParam); RemoteCall<TransactionResponse> staking(StakingParam stakingParam, GasProvider gasProvider); GasProvider getStakingGasProvider(StakingParam stakingParam); RemoteCall<PlatonSendTransaction> stakingReturnTransaction(StakingParam stakingParam); RemoteCall<PlatonSendTransaction> stakingReturnTransaction(StakingParam stakingParam, GasProvider gasProvider); RemoteCall<TransactionResponse> unStaking(String nodeId); RemoteCall<TransactionResponse> unStaking(String nodeId, GasProvider gasProvider); GasProvider getUnStakingGasProvider(String nodeId); RemoteCall<PlatonSendTransaction> unStakingReturnTransaction(String nodeId); RemoteCall<PlatonSendTransaction> unStakingReturnTransaction(String nodeId, GasProvider gasProvider); RemoteCall<TransactionResponse> updateStakingInfo(UpdateStakingParam updateStakingParam); RemoteCall<TransactionResponse> updateStakingInfo(UpdateStakingParam updateStakingParam, GasProvider gasProvider); GasProvider getUpdateStakingInfoGasProvider(UpdateStakingParam updateStakingParam); RemoteCall<PlatonSendTransaction> updateStakingInfoReturnTransaction(UpdateStakingParam updateStakingParam); RemoteCall<PlatonSendTransaction> updateStakingInfoReturnTransaction(UpdateStakingParam updateStakingParam, GasProvider gasProvider); RemoteCall<TransactionResponse> addStaking(String nodeId, StakingAmountType stakingAmountType, BigInteger amount); RemoteCall<TransactionResponse> addStaking(String nodeId, StakingAmountType stakingAmountType, BigInteger amount, GasProvider gasProvider); GasProvider getAddStakingGasProvider(String nodeId, StakingAmountType stakingAmountType, BigInteger amount); RemoteCall<PlatonSendTransaction> addStakingReturnTransaction(String nodeId, StakingAmountType stakingAmountType, BigInteger amount); RemoteCall<PlatonSendTransaction> addStakingReturnTransaction(String nodeId, StakingAmountType stakingAmountType, BigInteger amount, GasProvider gasProvider);  }### Answer:
@Test public void updateStakingInfo() { try { String benifitAddress = benefitCredentials.getAddress(chainId); String externalId = ""; String nodeName = "chendai-node3-u"; String webSite = "www.baidu.com-u"; String details = "chendai-node3-details-u"; BigInteger rewardPer = BigInteger.valueOf(2000L); PlatonSendTransaction platonSendTransaction = stakingContract.updateStakingInfoReturnTransaction(new UpdateStakingParam.Builder() .setBenifitAddress(benifitAddress) .setExternalId(externalId) .setNodeId(nodeId) .setNodeName(nodeName) .setWebSite(webSite) .setDetails(details) .setRewardPer(rewardPer) .build()).send(); TransactionResponse baseResponse = stakingContract.getTransactionResponse(platonSendTransaction).send(); System.out.println(baseResponse.toString()); } catch (Exception e) { e.printStackTrace(); } }