Class Memo
java.lang.Object
org.xrpl.xrpl4j.model.transactions.Memo
- Direct Known Subclasses:
ImmutableMemo
Contains arbitrary messaging data within an XRPL Transaction.
The MemoType and MemoFormat fields should only consist of the following characters: ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~:/?#[]@!$%26'()*+,;=%
The Memos field is limited to no more than 1 KB in size (when serialized in binary format).
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ImmutableMemo.Builderbuilder()Construct a builder for this class.memoData()Arbitrary hex value, conventionally containing the content of the memo.Hex value representing characters allowed in URLs.memoType()Hex value representing characters allowed in URLs.static ImmutableMemo.BuilderwithPlaintext(String plaintext) Construct aImmutableMemo.Builderby properly hex-encodingplaintext.
-
Constructor Details
-
Memo
public Memo()
-
-
Method Details
-
withPlaintext
Construct aImmutableMemo.Builderby properly hex-encodingplaintext.- Parameters:
plaintext- A UTF-8String.- Returns:
- A
ImmutableMemo.Builder.
-
builder
Construct a builder for this class.- Returns:
- An
ImmutableMemo.Builder.
-
memoData
Arbitrary hex value, conventionally containing the content of the memo. -
memoFormat
Hex value representing characters allowed in URLs. Conventionally containing information on how the memo is encoded. -
memoType
Hex value representing characters allowed in URLs. Conventionally, a unique relation that defines the format of this memo.
-