Skip to content

Destination Tag max int32 value limitation #21

Description

@argz7

In the SignTransaction example, I tried adding a destination tag object, and it works pretty well. But unfortunately, the destination tag is limited to the max int32 value. Is there anyway to increase the limit? Because it seems that some exchanges have a more longer destination tag than others.

Below is my sample code

    Payment payment = new Payment();

    // Put `as` AccountID field Account, `Object` o
    payment.as(AccountID.Account, account);
    payment.as(AccountID.Destination, destination);
    payment.as(Amount.Amount, amount);
    payment.as(UInt32.Sequence, sequence);
    payment.as(Amount.Fee, "10000");
    payment.as(UInt32.DestinationTag, destinationTag);

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions