Stellar PHP SDK API Documentation

AccountLinksResponse

Represents hypermedia links to related account resources

This response contains URIs to access related resources for an account such as effects, offers, operations, and transactions. These links follow HAL (Hypertext Application Language) format and enable navigation through the Horizon API.

Available links:

  • effects: Link to effects involving this account
  • offers: Link to offers created by this account
  • operations: Link to operations involving this account
  • transactions: Link to transactions submitted by this account
  • self: Link to this account resource

This response is included in AccountResponse as part of the account details.

Tags
see
AccountResponse

For the parent account details

see
LinkResponse

For individual link details

since
1.0.0

Table of Contents

Methods

fromJson()  : AccountLinksResponse
Creates an AccountLinksResponse instance from JSON data
getEffects()  : LinkResponse
Gets the link to effects involving this account
getOffers()  : LinkResponse
Gets the link to offers created by this account
getOperations()  : LinkResponse
Gets the link to operations involving this account
getSelf()  : LinkResponse
Gets the link to this account resource
getTransactions()  : LinkResponse
Gets the link to transactions submitted by this account
loadFromJson()  : void

Methods

fromJson()

Creates an AccountLinksResponse instance from JSON data

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

The JSON array containing link data from Horizon

Return values
AccountLinksResponse

The parsed links response

loadFromJson()

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

        
On this page

Search results