Skip to main content

Module balances

Module balances 

Source
Expand description

Lamport and token balance changes read from an encoded transaction’s metadata.

Structs§

BalanceChanges
Accounts whose balance moved in one transaction; unchanged accounts are omitted.
SolChange
One account’s lamport balance before and after the transaction.
TokenChange
One token account’s balance of one mint before and after the transaction.

Enums§

BalanceChangesError
Why balance_changes could not read a transaction.

Functions§

balance_changes
Full key list (static + lookup-loaded) joined with the meta’s balances.