Stellar PHP SDK API Documentation

AssetFlagsResponse

Represents authorization flags set on an asset

Contains boolean flags indicating the authorization requirements and capabilities set by the asset issuer. These flags control trustline authorization requirements, revocability, mutability, and clawback capabilities.

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()  : AssetFlagsResponse
isAuthClawbackEnabled()  : bool
Checks if clawback is enabled for this asset
isAuthImmutable()  : bool
Checks if these authorization flags are immutable
isAuthRequired()  : bool
Checks if authorization is required for accounts to hold this asset
isAuthRevocable()  : bool
Checks if the issuer can revoke authorization for this asset
loadFromJson()  : void

Methods

isAuthClawbackEnabled()

Checks if clawback is enabled for this asset

public isAuthClawbackEnabled() : bool

When true, the issuer can clawback this asset from accounts.

Return values
bool

True if clawback is enabled

isAuthImmutable()

Checks if these authorization flags are immutable

public isAuthImmutable() : bool

When true, the flags cannot be changed by the issuer.

Return values
bool

True if authorization flags are immutable

isAuthRequired()

Checks if authorization is required for accounts to hold this asset

public isAuthRequired() : bool
Return values
bool

True if authorization is required

isAuthRevocable()

Checks if the issuer can revoke authorization for this asset

public isAuthRevocable() : bool
Return values
bool

True if authorization is revocable

loadFromJson()

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

        
On this page

Search results