Stellar PHP SDK API Documentation

AssetLinksResponse

Represents HAL links for an asset response

Contains hypermedia links related to an asset, primarily the TOML file link. The TOML file contains additional information about the asset issuer and asset details.

Tags
see
AssetResponse

For the parent asset details

see
LinkResponse

For the link structure

since
1.0.0

Table of Contents

Methods

fromJson()  : AssetLinksResponse
getToml()  : LinkResponse
Gets the link to the asset's TOML file
loadFromJson()  : void

Methods

getToml()

Gets the link to the asset's TOML file

public getToml() : LinkResponse

The stellar.toml file contains additional asset and issuer information.

Return values
LinkResponse

The TOML file link

loadFromJson()

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

        
On this page

Search results