Skip to main content

Retrieve a Liquidity Pool REST API Endpoint

Retrieve information about a liquidity pool

Updated on
Oct 04, 2023

Path Parameters

liquidity_pool_id
string
REQUIRED

A unique identifier for this liquidity pool

Returns

_links
object

Links to related resources associated with the specific liquidity pool

self
object

The self link object which contains the following field:

href
string

A link to the current liquidity pool

transactions
object

The transaction link object which contains the following field:

href
string

A link to the transaction containing the liquidity pool, enabling access to the details of the parent transaction

operations
object

The operations link object which contains the following field:

href
string

A link to the operations associated with the liquidity pool

id
string

The unique identifier of the liquidity pool

paging_token
string

A token used for pagination, providing a reference point for navigating between pages of liquidity pool records

fee_bp
integer

The fee expressed in basis points (bp) associated with the liquidity pool.

type
string

The type of the liquidity pool, such as constant_product

total_trustlines
string

The total number of trustlines associated with the liquidity pool

total_shares
integer | string

The total number of shares issued by the liquidity pool

reserves
array

An array of reserve objects, each containing information about a specific asset held within the liquidity pool:

amount
string

The amount of the asset held as a reserve in the liquidity pool.

asset
string

The asset type and code of the reserve, along with its issuer's address

last_modified_ledger
number | string

The ledger sequence number in which the pool was last modifiedr

last_modified_time
string

The timestamp when the pool was last modified

Request
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free