Stellar PHP SDK API Documentation

AssetBalanceChangesResponse extends IteratorIterator

Collection of asset balance changes from a Soroban contract invocation

Provides an iterable collection of AssetBalanceChangeResponse objects representing all asset balance changes that occurred during smart contract execution. Supports iteration, counting, and conversion to array.

Table of Contents

Methods

__construct()  : mixed
add()  : void
Adds an asset balance change to the collection
count()  : int
Gets the number of balance changes in the collection
current()  : AssetBalanceChangeResponse
toArray()  : array<string|int, AssetBalanceChangeResponse>

Methods

count()

Gets the number of balance changes in the collection

public count() : int
Return values
int

The balance change count


        
On this page

Search results