New Here? Claim Your 30% Discount on Your First Blockchain Node Access!

banner image

Last updated on January 1, 1970

1 min read

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

/liquidy_pools/{liquidy_pool_id}/effect

info-circle-fill

Method not allowed

info-circle-fill

This endpoint represents effects referencing a given liquidity pool andcan be used in streaming mode. Streaming mode allows you to listen fornew effects referencing this liquidity pool as they are added to theStellar ledger. If called in streaming mode, Horizon will start at theearliest known effect unless a cursor is set, in which case it willstart from that cursor. By setting the cursor value to now, you canstream effects created since your request time.

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.

Request

curl --location --request GET 'https://xlm.getblock.io/mainnet/liquidy_pools/None/effect' 
--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"
}
banner icon

Start Building with GetBlock RPCs for Free