pair query test
Returns 10 pairs, where quote token address is So1111…1112, token address is 6p6xgH…GiPN and market network is Solana, sorted by interval time start, highest first: currency symbol, currency name, currency ID, block date, block time, timestamp, protocol and 26 more fields.
What it returns
- currency symbol
- currency name
- currency ID
- block date
- block time
- timestamp
- protocol
- program
- network
- market name
- market address
- token address
- token ID
- token name
- token symbol
- USD
- base
- quote
- quote token name
- quote token ID
- quote token address
- quote token symbol
- quote currency ID
- open
- low
- high
- close
- weighted simple moving
- simple moving
- mean
- exponential moving
- end
- start
Filters
- quote token address is So1111…1112
- token address is 6p6xgH…GiPN
- market network is Solana
- time duration is 5
The query
{
Trading {
Pairs(
where: {Market: {Network: {is: "Solana"}}, Interval: {Time: {Duration: {eq: 5}}}, QuoteToken: {Address: {is: "So11111111111111111111111111111111111111112"}}, Token: {Address: {is: "6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN"}}, Price: {IsQuotedInUsd: false}}
limit: {count: 10}
orderBy: {descending: Interval_Time_Start}
) {
Currency {
Symbol
Name
Id
}
Block {
Date
Time
Timestamp
}
Market {
Protocol
Program
Network
Name
Address
}
Token {
Address
Id
Name
Symbol
TokenId
}
Volume {
Usd
Base
Quote
}
QuoteToken {
TokenId
Name
Id
Address
Symbol
}
QuoteCurrency {
Id
}
Price {
Ohlc {
Open
Low
High
Close
}
Average {
WeightedSimpleMoving
SimpleMoving
Mean
ExponentialMoving
}
}
Interval {
Time {
End
Start
}
}
}
}
}
Similar queries
- Elysium pair OHLC candles (WHYPE/USDC, 5 min) · Trading (all chains) · Pairs
- Elysium top trading pairs by USD volume, 24h · Trading (all chains) · Pairs
- arc mainnet minara pool price · Trading (all chains) · Pairs
- Arc Mainnet Trading: Latest price of a token (v2) · Trading (all chains) · Pairs
- save with commit · Trading (all chains) · Tokens