Stellar — Liquidity pool trades
Swaps routed through Stellar liquidity pools, with the pool id and both legs.
Returns the latest 10 liquidity pool trade effects on Stellar, where date since 2026-08-20: block, timestamp time, liquidity pool ID, buy currency name, buy currency symbol, sell currency name, sell currency symbol and 2 more fields.
What it returns
- block
- timestamp time
- liquidity pool ID
- buy currency name
- buy currency symbol
- sell currency name
- sell currency symbol
- buy amount
- sell amount
Filters
- date since 2026-08-20
The query
# Stellar - Liquidity & Pools - Liquidity pool trades
#
# Bitquery V1 query - send it to https://graphql.bitquery.io. The V2 endpoint
# does not serve this chain.
#
# The date bound stops this scanning the whole chain - without one it fails
# with ClickHouse Code 241 (memory limit). Move `since` in the Variables pane;
# the safe window differs per chain.
#
# Datasets: https://docs.bitquery.io/docs/graphql/dataset/archive/
# Retention: https://docs.bitquery.io/docs/graphql/data-coverage-retention/
query ($since: ISO8601DateTime) {
stellar(network: stellar) {
liquidityPoolTradeEffects(date: {since: $since} options: {limit: 10, desc: "block"}) {
block
timestamp { time(format: "%Y-%m-%d %H:%M:%S") }
liquidityPoolId
buyCurrency { name symbol }
sellCurrency { name symbol }
buyAmount
sellAmount
}
}
}
Variables
{"since": "2026-08-20"}
Similar queries
- liquidityPoolTradeEffects · Stellar · liquidityPoolTradeEffects
- Stellar — Balance of an address at a past date · Stellar · payments
- Stellar — Balances of an address · Stellar · Address
- stellar blocks time · Stellar · Blocks
- Stellar_Address_Balance_Out · Stellar · Transfers