Skip to main content

Returns

pairMetadata
PairMetadata!
Pair metadata including liquidity, volume, price, and token info.

Arguments

pairId
String!
required
Pair ID (e.g. from listPairsForToken or listPairsWithMetadataForToken).
quoteToken
QuoteToken
Which token is quote (token0 or token1). See QuoteToken.
statsType
TokenPairStatisticsType
FILTERED or UNFILTERED. See TokenPairStatisticsType.

Example

{
  pairMetadata(pairId: "0x88e6a0c2ddd26feeb64f039a2c41296fcb3f5640:1") {
    id
    pairAddress
    networkId
    exchangeId
    fee
    liquidity
    liquidityToken
    nonLiquidityToken
    statsType
    price
    priceNonQuoteToken
    priceChange5m
    priceChange1
    priceChange4
    priceChange12
    priceChange24
    volume5m
    volume1
    volume4
    volume12
    volume24
    highPrice24
    lowPrice24
    token0 {
      address
      name
      symbol
      networkId
      decimals
      price
      pooled
    }
    token1 {
      address
      name
      symbol
      networkId
      decimals
      price
      pooled
    }
  }
}

Playground