MemoReturn

Represents MEMO_RETURN - a 32-byte hash intended to be interpreted as the hash of the transaction the sender is refunding.

Throws

if the bytes array is not exactly 32 bytes

Constructors

Link copied to clipboard
constructor(bytes: ByteArray)

Creates a MEMO_RETURN from a byte array.

constructor(hexString: String)

Creates a MEMO_RETURN from a hex-encoded string.

Properties

Link copied to clipboard

The 32-byte hash

Link copied to clipboard

Returns the hex representation of this return hash.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
open override fun toXdr(): MemoXdr

Converts this memo to its XDR representation.