Skip to main content

Overview

Fetch liquidity pairs (e.g. Uniswap pools) that include a specific token.
  • Supports pagination via limit
  • Includes token metadata and pooled liquidity
  • Useful for discovering trading pairs and liquidity sources

Returns

listPairsForToken
[Pair!]!
required
A list of pairs that include the given token.

Arguments

tokenAddress
Address!
required
Token contract address.
networkId
NetworkId!
required
Network ID (e.g. 1, 42161).
limit
Int
Maximum number of pairs to return.

Example

{
  listPairsForToken(
    tokenAddress: "So11111111111111111111111111111111111111112"
    networkId: 1399811149
    limit: 10
  ) {
    address
    id
    networkId
    exchangeHash
    fee
    tickSpacing
    token0
    token1
    createdAt
    pooled {
      token0
      token1
    }
  }
}

Playground