Stellar PHP SDK API Documentation

ClaimableBalancesResponse extends IteratorIterator

Iterable collection of claimable balance responses

Provides iterator functionality for traversing multiple ClaimableBalanceResponse objects. Supports adding claimable balances, counting, and converting to array.

Tags
see
ClaimableBalanceResponse

For individual claimable balance details

since
1.0.0

Table of Contents

Methods

__construct()  : mixed
Constructs a claimable balances collection
add()  : void
Adds a claimable balance to the collection
count()  : int
Gets the total number of claimable balances in the collection
current()  : ClaimableBalanceResponse
Gets the current claimable balance in the iteration
toArray()  : array<string|int, ClaimableBalanceResponse>
Converts the collection to an array

Methods

count()

Gets the total number of claimable balances in the collection

public count() : int
Return values
int

The count of claimable balances


        
On this page

Search results