Stellar PHP SDK API Documentation

SEP31InfoResponse

Response containing supported receiving assets and KYC requirements from SEP-31 info endpoint.

This class represents the response from GET /info, listing all assets that the Receiving Anchor supports for cross-border payments, along with their transaction limits, fees, and required SEP-12 KYC types for senders and receivers.

Tags
see
https://github.com/stellar/stellar-protocol/blob/v3.1.0/ecosystem/sep-0031.md#get-info
see
CrossBorderPaymentsService::info()
see
SEP31ReceiveAssetInfo
see
SEP12TypesInfo

Table of Contents

Properties

$receiveAssets  : array<string, SEP31ReceiveAssetInfo>

Methods

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

Properties

$receiveAssets

public array<string, SEP31ReceiveAssetInfo> $receiveAssets

(asset code => info) about the assets that the Receiving Anchor supports receiving from the Sending Anchor.

Methods

fromJson()

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

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

the data to construct the object from.

Return values
SEP31InfoResponse

the object containing the parsed data.


        
On this page

Search results