Returns
listPairsWithMetadataForToken
ListPairsForTokenResponse!
Pairs with volume, liquidity, and token/metadata per result.Show ListPairsForTokenResponse
results
[ListPairsForTokenValue!]!
List of pair entries with metadata.Show ListPairsForTokenValue (each element)
Which token is quote (token0 or token1). See
QuoteToken.
Arguments
Token contract address to find pairs for.
Network ID (e.g. 1 for Ethereum, 42161 for Arbitrum).
Max number of results to return.
Example
query ListPairsWithMetadataForToken {
listPairsWithMetadataForToken(
tokenAddress: "0xdac17f958d2ee523a2206206994597c13d831ec7"
networkId: 1
limit: 5
) {
results {
volume
liquidity
token { id symbol }
backingToken { id symbol }
pair { address }
}
}
}
Playground