Translations: Sample Java Programs/11/en
From ArdorDocs
private JO prepare(URL remoteUrl, int chainId) {
// Prepare the transaction but do not broadcast it. This will calculate the parent chain fee return SendMoneyCall.create(chainId). recipient("NXT-KX2S-UULA-7YZ7-F3R8L"). amountNQT(12345678). deadline(15). broadcast(false). publicKey(Crypto.getPublicKey(SECRET_PHRASE)). remote(remoteUrl). message("012345678901234567890123456789012"). // permanent attached message of more than 32 bytes increases the ARDR fee call(); }