Stellar PHP SDK API Documentation

SEP38InfoResponse
in package

Response containing supported assets and delivery methods from SEP-38 info endpoint.

This class represents the response from GET /info, listing all Stellar and off-chain assets available for trading, along with their supported delivery methods and country restrictions.

Tags
see
https://github.com/stellar/stellar-protocol/blob/master/ecosystem/sep-0038.md#get-info
see
QuoteService::info()
see
SEP38Asset

Table of Contents

Properties

$assets  : array<string|int, mixed>

Methods

__construct()  : mixed
fromJson()  : SEP38InfoResponse
Constructs a new instance of SEP38InfoResponse by using the given data.

Properties

Methods

__construct()

public __construct(array<string|int, SEP38Asset$assets) : mixed
Parameters
$assets : array<string|int, SEP38Asset>

Array of supported assets with delivery methods and country restrictions.

fromJson()

Constructs a new instance of SEP38InfoResponse by using the given data.

public static fromJson(array<string|int, mixed> $json) : SEP38InfoResponse
Parameters
$json : array<string|int, mixed>

the data to construct the object from.

Return values
SEP38InfoResponse

the object containing the parsed data.


        
On this page

Search results