Translations: Sample Java Programs/64/en

From ArdorDocs
Jump to: navigation, search

JO signedTransactionResponse = SendMoneyCall.create(2).

               recipient("NXT-KX2S-UULA-7YZ7-F3R8L").
               amountNQT(12345678).
               secretPhrase(SECRET_PHRASE).
               deadline(15).
               feeNQT(100000000).
               phased(true).
               phasingVotingModel("" + VoteWeighting.VotingModel.ACCOUNT.getCode()). // Another account will need to approve this
               phasingQuorum("1"). // One approver account is enough
               phasingWhitelisted("NXT-EVHD-5FLM-3NMQ-G46NR"). // This is the account that needs to approve
               phasingFinishHeight("" + (height + 100)). // It has 100 blocks to submit the approval
               phasingMinBalanceModel("" + VoteWeighting.MinBalanceModel.NONE.getCode()). // There is no minimum balance requirement
               remote(url).
               call();