Skip to main content

List Liquidity Pools

GET 

/liquidity_pools

This endpoint lists all available liquidity pools.

Request

Query Parameters

    reserves any

    Comma-separated list of assets in canonical form (Code:IssuerAccountID), to only include liquidity pools which have reserves matching all listed assets.

    account any

    A Stellar account ID, to only include liquidity pools in which this account is participating in (i.e. holds pool shares to).

    cursor integer

    A number that points to a specific location in a collection of responses and is pulled from the paging_token value of a record.

    order string

    Possible values: [asc, desc]

    A designation of the order in which records should appear. Options include asc (ascending) or desc (descending). If this argument isn’t set, it defaults to asc.

    limit integer

    The maximum number of records returned. The limit can range from 1 to 200 - an upper limit that is hardcoded in Horizon for performance reasons. If this argument isn’t designated, it defaults to 10.

Responses

Success

Schema
    _links object
    self object
    href linkrequired
    templated boolean
    next object
    href linkrequired
    templated boolean
    prev object
    href linkrequired
    templated boolean
    _embedded object
    records object[]
  • Array [
  • id id (string)required
    paging_token paging_token (string)required
    fee_bp uint32required
    type stringrequired
    total_trustlines stringrequired
    total_shares stringrequired
    reserves objectrequired
    asset string
    amount string
    last_modified_ledger stringrequired
    last_modified_time stringrequired
  • ]
Loading...