Stellar PHP SDK API Documentation

AssetBalancesResponse

Represents total balances by authorization status for an asset

Contains aggregated balance amounts for an asset, broken down by authorization status (authorized, authorized to maintain liabilities, or unauthorized). This response is part of AssetResponse and provides insights into total asset distribution across different authorization levels.

Tags
see
AssetResponse

For the parent asset details

see
https://developers.stellar.org

Stellar developer docs Horizon Assets API

since
1.0.0

Table of Contents

Methods

fromJson()  : AssetBalancesResponse
getAuthorized()  : string
Gets the total balance held in fully authorized accounts
getAuthorizedToMaintainLiabilities()  : string
Gets the total balance held in accounts authorized to maintain liabilities
getUnauthorized()  : string
Gets the total balance held in unauthorized accounts
loadFromJson()  : void

Methods

getAuthorized()

Gets the total balance held in fully authorized accounts

public getAuthorized() : string
Return values
string

The total authorized balance as a string to preserve precision

getAuthorizedToMaintainLiabilities()

Gets the total balance held in accounts authorized to maintain liabilities

public getAuthorizedToMaintainLiabilities() : string
Return values
string

The total balance in accounts authorized to maintain liabilities

getUnauthorized()

Gets the total balance held in unauthorized accounts

public getUnauthorized() : string
Return values
string

The total unauthorized balance

loadFromJson()

protected loadFromJson(array<string|int, mixed> $json) : void
Parameters
$json : array<string|int, mixed>

        
On this page

Search results