# Create XRPL transaction

The following example sends XRPL from an account to a destination address:


```java
var domainId = "";
var txOrderId = "";
var toAddress = "";
var fromAccountId = "";
var maxFee = "";
var amount = "";
var sourceTag = 0;
var memo = new XrplMemo.Builder()
        .memoData("74657274")
        .memoFormat("75726c")
        .memoType("68747470333a2f2f636f72651d71612d737461626c652d79796a3476652e6d33743463302e636c6f75642f76312f696e74656e7473");


var transactionDestination = TransactionDestination.AddressDestination
        .builder()
        .address(toAddress).build();

var createTransactionOrder = Transactions.CreateTransactionOrder.builder()
        .id(txOrderId)
        .fromAccountId(fromAccountId)
        .parameters(XrplTransactionOrderParameters.builder()
                .toEndpoint(transactionDestination)
                .memos(Collections.singletonList(memo.build()))
                .maximumFee(maxFee)
                .sourceTag(sourceTag)
                .priorityHigh()
                .amount(amount)
                .build()
        )
        .build();

harmonize.transactions(domainId)
        .create(createTransactionOrder, Expire.hours(24))
        .waitForSucceed(Timeout.minutes(1));
```