Up to 50% Off on Your First Month

Subscribe by April 30th with a credit card and save big!

Sale bannerSale banner

Last updated on January 1, 1970

2 min read

Method /liquidy_pools/{liquidy_pool_id}/transactions Stellar (XLM)
connect with REST protocol

/liquidy_pools/{liquidy_pool_id}/transactions

info-circle-fill

Method not allowed

info-circle-fill

This endpoint represents successful transactions referencing a givenliquidity pool and can be used in streaming mode. Streaming mode allowsyou to listen for new transactions referencing this liquidity pool asthey are added to the Stellar ledger. If called in streaming mode,Horizon will start at the earliest known transaction unless a cursor isset, in which case it will start from that cursor. By setting the cursorvalue to now, you can stream transactions created since your requesttime.

Parameters

liquidity_pool_id - path

any, required

A unique identifier for this liquidity pool.

cursor - query

integer, optional

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 - query

string, optional

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 - query

integer, optional

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.

include_failed - query

boolean, optional

Set to true to include failed operations in results. Options include true and false.

Request

curl --location --request GET 'https://xlm.getblock.io/mainnet/liquidy_pools/None/transactions?' 
--header 'x-api-key: YOUR-API-KEY' 
--header 'Content-Type: application/json'

Response

{
    "result": "null",
    "id": "getblock.io",
    "status_code": 405,
    "message": "Method not allowed"
}