@algorandfoundation/algokit-subscriber / types/subscription / BalanceChange
types/subscription.BalanceChange
Represents a balance change effect for a transaction.
• address: string
The address that the balance change is for.
• amount: bigint
The amount of the balance change in smallest divisible unit or microAlgos.
• assetId: bigint
The asset ID of the balance change, or 0 for Algos.
• roles: BalanceChangeRole[]
The roles the account was playing that led to the balance change