Retrieve Related Operations {Liquidity Pools} REST API Endpoint
Please note that this method can be used in streaming mode. Streaming mode allows you to listen for new operations referencing this liquidity pool as they are added to the Stellar ledger.
Path Parameters
liquidity_pool_id
string
REQUIRED
A unique identifier for this liquidity pool
Query Parameters
cursor
integer
A number that points to a specific location in a collection of responses which is pulled from the paging_token value of a record
order
string
The designation of the order of the records. It can be ascending or descending. By default it is set to ascending
limit
integer
The maximum number of records returned
include_failed
boolean
If true, it includes failed operations in results
join
string
It includes the transactions which created each of the operations in the response
Returns
_links
object
The link object which provides links to various related resources
self
object
The self link object which contains the following field:
href
string
A link that points to the current page of operations
next
object
The next link object which contains the following field:
href
string
A link to the next page of operations, allowing for pagination
prev
object
The prev link object which contains the following field:
href
string
A link to the previous page of operations, enabling navigation backward
_embedded
object
Embedded operation object which contains the following fields:
records
array
An array containing individual operation records that match the query parameters
_links
object
Links to related resources associated with the specific operation
self
object
The self link object which contains the following field:
href
string
A link to the current operation, allowing navigation to the details of the operation
transaction
object
The transaction link object which contains the following field:
href
string
A link to the transaction containing the operation, enabling access to the details of the parent transaction
effects
object
The effects link object which contains the following field:
href
string
A link to the effects associated with the operation
succeeds
object
The succeeds link object which contains the following field:
href
string
A link to effects with an order in descending order relative to this operation's order
precedes
object
The precedes link object which contains the following field:
href
string
A link to effects with an order in ascending order relative to this operation's order
id
string
The unique identifier of the operation
paging_token
string
A token used for pagination, providing a reference point for navigating between pages of operation records
transaction_successful
boolean
A boolean indicating whether the transaction associated with this operation was successful
source_account
string
The source account that initiated the operation
type
string
The type of operation
type_i
integer
The numeric code representing the operation type
created_at
string
The timestamp indicating when the operation was created
transaction_hash
string
The hash of the transaction containing the operation
asset_type
string
The type of asset involved in the operation
liquidity_pool_id
string
The unique identifier of the liquidity pool related to the operation
shares
string
The amount of liquidity pool shares involved in the operation
reserves_min
string
n array of reserve objects, each containing the minimum reserve required for withdrawal
asset
string
The asset type and code
min
string
The minimum amount required for withdrawal
reserves_received
string
An array of reserve objects, each containing the amount of reserves received:
asset
string
The asset type and code
amount
string
The received amount of reserves
limit
string
The maximum number of records returned
trustor
string
The account that is extending trust to another entity or asset
Request
1curl -L -X GET 'https://docs-demo.stellar-mainnet.quiknode.pro/liquidity_pools/092c073428d07ee3b4a6db1e285dbe989bf1c9587efdd0f1bfb403e9874ad214/operations' \2-H 'Accept: application/json'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free