Apply Data - Algorand Specifications

Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Algorand Specifications

Each transaction is associated with some information about how it is applied to the Account State. This information is called ApplyDataApplyData, and contains the fields based on the transaction type (type).

The following ApplyDataApplyData item refers to the legacy Distribution Reward system.

The fields have integer values representing μALGO.

If any of the addresses are the same (e.g., the sender and receiver are the same), then that account received the sum of the respective reward distributions (i.e., rs plus rr).

Important

IMPLEMENTATION:

In the reference implementation, one of these two fields will be zero in that case.

TODO (Similarities and differences with respect to regular transactions)

A state delta represents an update to a Key/Value Store (KV). It is constructed as an associative array mapping a byte-array key to a single value delta. It represents a series of actions that, when applied to the previous state of the Key/Value store, will yield the new state. These state deltas are included in the Application Call ApplyDataApplyData structure under the field eval delta (dt).

A value delta is composed of three fields: