For the complete documentation index, see llms.txt. This page is also available as Markdown.

Index

To make it possible to explore the millions of records for resources like transactions and operations, Horizon paginates the data it returns for collection-based endpoints.

Each individual transaction, operation, ledger, etc. is returned as a record, and a group of records is called a collection. Records are returned as an array under the _embedded attribute.

To move between pages of a collection of records, use the links in the next and prev attributes nested under the top-level _links attribute.

  • ATTRIBUTE DATA TYPE

    DESCRIPTION

  • _linksarray

    Provides links for navigating to other pages.Hide child attributes

    • _links.selfarray

      An href key with a link to the response itself as the value.

    • _links.nextarray

      An href key with a link to the next page for this endpoint as the value.

    • _links.prevarray

      An href key with a link to the next page for this endpoint as the value.

  • _embeddedarray

    An href key with a link to the next page for this endpoint as the value.Hide child attributes

    • _embedded.recordsarray

      Returns an array of records.

Last updated

Was this helpful?