Stellar PHP SDK API Documentation

TransactionLinksResponse

Represents HAL-style hypermedia links for transaction resources

This response provides navigational links to related resources for a transaction following the HAL (Hypertext Application Language) specification. Links enable clients to discover and traverse related resources without constructing URLs manually.

Available links include:

  • self: The transaction itself
  • account: The source account that created the transaction
  • ledger: The ledger that includes this transaction
  • operations: Operations contained in this transaction
  • effects: Effects produced by this transaction
  • precedes: The next transaction in chronological order
  • succeeds: The previous transaction in chronological order
  • transaction: Reference to the transaction resource (for fee-bump inner transactions)

All links are templated URLs that can be followed to retrieve the related resource.

Tags
see
TransactionResponse

For the parent transaction response

see
LinkResponse

For individual link details

see
https://developers.stellar.org

Stellar developer docs HAL Response Format

since
1.0.0

Table of Contents

Methods

fromJson()  : TransactionLinksResponse
Creates a TransactionLinksResponse instance from JSON data
loadFromJson()  : void
Loads hypermedia links from JSON response

Methods

loadFromJson()

Loads hypermedia links from JSON response

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

The JSON array containing HAL links data


        
On this page

Search results