AssetLinksResponse
in package
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
Table of Contents
Methods
- fromJson() : AssetLinksResponse
- getToml() : LinkResponse
- Gets the link to the asset's TOML file
- loadFromJson() : void
Methods
fromJson()
public
static fromJson(array<string|int, mixed> $json) : AssetLinksResponse
Parameters
- $json : array<string|int, mixed>
Return values
AssetLinksResponsegetToml()
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>