List Liquidity Pools

This endpoint lists all available liquidity pools.

This method will use 20 Compute Units.


Reference: Here

List Liquidity Pools

get

This endpoint lists all available liquidity pools.

Query parameters
reservesanyOptional

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

accountanyOptional

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

cursorintegerOptional

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

Example: 6606617478959105
orderstring · enumOptional

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.

Possible values:
limitintegerOptional

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.

Example: 10
Responses
200

Success

application/json
get
/liquidity_pools
200

Success

Last updated

Was this helpful?