Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Commit

Permalink
list pairs for tokens query
Browse files Browse the repository at this point in the history
  • Loading branch information
jstep committed Oct 7, 2023
1 parent e92e436 commit c0af3d8
Showing 1 changed file with 105 additions and 0 deletions.
105 changes: 105 additions & 0 deletions src/sdk/graphql/ListPairsForToken.graphql
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
query ListPairsForToken($networkId: Int!, $tokenAddress: String!, $limit: Int) {
listPairsForToken(
networkId: $networkId
tokenAddress: $tokenAddress
limit: $limit
) {
address
exchangeHash
fee
id
networkId
tickSpacing
pooled {
token0
token1
}
token0
token1
createdAt
token0Data {
address
cmcId
decimals
id
isScam
name
networkId
symbol
exchanges {
address
color
id
name
exchangeVersion
iconUrl
networkId
tradeUrl
}
info {
id
address
circulatingSupply
cmcId
isScam
name
networkId
symbol
totalSupply
imageThumbUrl
imageSmallUrl
imageLargeUrl
}
explorerData {
id
blueCheckmark
description
divisor
tokenPriceUSD
tokenType
}
}
token1Data {
address
cmcId
decimals
id
isScam
name
networkId
symbol
exchanges {
address
color
id
name
exchangeVersion
iconUrl
networkId
tradeUrl
}
info {
id
address
circulatingSupply
cmcId
isScam
name
networkId
symbol
totalSupply
imageThumbUrl
imageSmallUrl
imageLargeUrl
}
explorerData {
id
blueCheckmark
description
divisor
tokenPriceUSD
tokenType
}
}
}
}

0 comments on commit c0af3d8

Please sign in to comment.