pepe token price
Returns one pair, where token ID is bid:eth:0x6982508145454ce325ddbe47a25d4ec3d2311933 and time duration is 1, sorted by USD, highest first: block time, currency ID, currency name, currency symbol, token ID, token name, token symbol and 17 more fields.
What it returns
- block time
- currency ID
- currency name
- currency symbol
- token ID
- token name
- token symbol
- token address
- quote token ID
- quote token name
- quote token symbol
- quote token address
- market ID
- network
- network bid
- market name
- protocol family
- protocol
- market address
- program
- close
- mean
- sum of volume USD
- calculate
Filters
- token ID is bid:eth:0x6982508145454ce325ddbe47a25d4ec3d2311933
- time duration is 1
The query
query lastOfMarketsForToken($tokenID: String) {
Trading {
Pairs(
orderBy: {descendingByField: "usd"}
limit: {count: 1}
where: {Token: {Id: {is: $tokenID}}, Interval: {Time: {Duration: {eq: 1}}}}
) {
Block {
Time(maximum: Block_Time)
}
Currency {
Id
Name
Symbol
}
Token {
Id
Name
Symbol
Address
}
QuoteToken {
Id
Name
Symbol
Address
}
Market {
Id
Network
NetworkBid
Name
ProtocolFamily
Protocol
Address
Program
}
Price {
Ohlc {
current_price: Close(
if: {Interval: {Time: {Start: {is_relative: {round: {in: hours}}}}}}
)
prev_price: Close(
if: {Interval: {Time: {Start: {is_relative: {hours_ago: 1, round: {in: hours}}}}}}
)
}
Average {
current_mean: Mean(
if: {Interval: {Time: {Start: {is_relative: {round: {in: hours}}}}}}
)
hour_ago_mean: Mean(
if: {Interval: {Time: {Start: {is_relative: {hours_ago: 1, round: {in: hours}}}}}}
)
hour_24_ago_mean: Mean(
if: {Interval: {Time: {Start: {is_relative: {hours_ago: 24, round: {in: hours}}}}}}
)
}
}
usd: sum(of: Volume_Usd)
current_price: calculate(
expression: "if($Price_Ohlc_current_price_any=0, $Price_Ohlc_prev_price_any, $Price_Ohlc_current_price_any)"
)
diff_1h: calculate(
expression: "round(10000 * ($current_price - $Price_Average_hour_ago_mean_any) / $current_price) / 100"
)
diff_24h: calculate(
expression: "round(10000 * ($current_price - $Price_Average_hour_24_ago_mean_any) / $current_price) / 100"
)
}
}
}
Variables
{
"tokenID": "bid:eth:0x6982508145454ce325ddbe47a25d4ec3d2311933"
}
Similar queries
- Robinhood Chain Aero Slipstream top liquidity pools by volume · Trading (all chains) · Pairs
- Robinhood Chain Ramses top liquidity pools by volume · 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