Stellar PHP SDK API Documentation

PathLinksResponse

HAL navigation links for payment path resources

This response contains hypermedia links following the HAL (Hypertext Application Language) specification for navigating payment path resources in the Horizon API. Path payment endpoints return possible routes for converting one asset to another through the network.

Available links:

  • self: Link to this payment path endpoint
Tags
see
LinkResponse

For individual link details

see
PathResponse

For the parent payment path resource

see
https://developers.stellar.org

Stellar developer docs Horizon HAL Response Format

Table of Contents

Methods

fromJson()  : PathLinksResponse
Creates a PathLinksResponse from JSON data
getSelf()  : LinkResponse
Gets the link to this payment path endpoint
loadFromJson()  : void

Methods

fromJson()

Creates a PathLinksResponse from JSON data

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

Associative array of parsed JSON response

Return values
PathLinksResponse

The populated links response

loadFromJson()

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

        
On this page

Search results