toOperationBody method

  1. @override
XdrOperationBody toOperationBody()
override

Converts this operation to its XDR OperationBody representation.

Returns: XDR OperationBody for this account merge operation.

Implementation

@override
XdrOperationBody toOperationBody() {
  XdrOperationBody body = new XdrOperationBody(
    XdrOperationType.ACCOUNT_MERGE,
  );
  body.destination = this.destination.toXdr();
  return body;
}