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.

By gaurav · saved 27 August 2026 · Bitquery API v1

What it returns

Filters

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