Memo Block
Fields overview
The memo block contains detailed transaction data such as output notes, accounts, transaction fee, and other specific fields.
The memo block consists of the fields below. There are two optional fields in the memo block, dependent on transaction type: native amount
and receiver
. These values are only included in the withdrawal transaction's memo block.
Field name | Size (bytes) | Description |
---|---|---|
fee | 8 | Asset amount transferred to the relayer. |
native amount | 8 | Asset amount for withdrawal. This field is optional for withdrawal transactions only. |
receiver | 20 | Destination address for withdrawal transaction (chain-specific). |
4 | Number of encrypted elements in the memo block. An element is an account or a note. Note has a fixed number of items currently: one output account and 127 notes. | |
32 | Output account hash (with updated balance). | |
32 | Output note hash. | |
32 | Ephemeral public key. Used to decrypt by transaction sender. | |
32 * + 16 | Encrypted keys to decrypt output account and notes. Only the transaction sender can decrypt these keys. | |
86 | Encrypted output account with an updated balance. | |
32 | Ephemeral public key for notes. Used to decrypt by note owner (receiver). | |
76 | Encrypted note. It can be decrypted with by owner or by transaction sender through a disclosure. |