BalanceChange
@algorandfoundation/algokit-subscriber
Interface: BalanceChange
Section titled “Interface: BalanceChange”Defined in: src/types/subscription.ts:200
Represents a balance change effect for a transaction.
Properties
Section titled “Properties”address
Section titled “address”address:
string
Defined in: src/types/subscription.ts:202
The address that the balance change is for.
amount
Section titled “amount”amount:
bigint
Defined in: src/types/subscription.ts:206
The amount of the balance change in smallest divisible unit or microAlgos.
assetId
Section titled “assetId”assetId:
bigint
Defined in: src/types/subscription.ts:204
The asset ID of the balance change, or 0 for Algos.
roles:
BalanceChangeRole[]
Defined in: src/types/subscription.ts:208
The roles the account was playing that led to the balance change