Data Stream Adds Balances Before Each Event
preBalances adds the before-state alongside existing post-event balances.
ZeroSlip Data Stream now includes preBalances in every event. The field describes the balances of accounts involved before the event occurred and follows the same format as postBalances.
Having both states in an event makes it easier to inspect how the transaction affected those accounts. Developers can compare the incoming balances with the resulting balances while processing the rest of the event data.
The update adds another piece of transaction context to the stream, alongside its existing event details. See the Data Stream documentation for examples of the balance fields.