Stellar PHP SDK API Documentation

OfferLinksResponse

HAL navigation links for offer resources

This response contains hypermedia links following the HAL (Hypertext Application Language) specification for navigating between offer-related resources in the Horizon API. Each link provides a URL to fetch additional information about the offer or related entities.

Available links:

  • self: Link to this offer's detail endpoint
  • offer_maker: Link to the account that created the offer
Tags
see
LinkResponse

For individual link details

see
OfferResponse

For the parent offer resource

see
https://developers.stellar.org

Stellar developer docs Horizon HAL Response Format

Table of Contents

Methods

fromJson()  : OfferLinksResponse
Creates an OfferLinksResponse from JSON data
getOfferMaker()  : LinkResponse
Gets the link to the account that created this offer
getSelf()  : LinkResponse
Gets the link to this offer's detail endpoint
loadFromJson()  : void

Methods

fromJson()

Creates an OfferLinksResponse from JSON data

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

Associative array of parsed JSON response

Return values
OfferLinksResponse

The populated links response

loadFromJson()

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

        
On this page

Search results