Average price of apecoin
Returns one DEX trade on Ethereum, where base currency is 0x4d22…4381, quote currency is 0xa0b8…eb48 and date is 2023-01-03: quote price, base currency address, base currency name, quote currency address and quote currency name.
What it returns
- quote price
- base currency address
- base currency name
- quote currency address
- quote currency name
Filters
- base currency is 0x4d22…4381
- quote currency is 0xa0b8…eb48
- date is 2023-01-03
The query
query ($network: EthereumNetwork!, $token: String!, $limit: Int!, $offset: Int!) {
ethereum(network: $network) {
dexTrades(
options: {limit: $limit, offset: $offset}
date: {is: "2023-01-03"}
baseCurrency: {is: $token}
quoteCurrency: {is: "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48"}
) {
quotePrice(calculate: median)
baseCurrency {
address
name
}
quoteCurrency {
address
name
}
}
}
}
Variables
{
"limit": 1,
"offset": 0,
"network": "ethereum",
"token": "0x4d224452801aced8b2f0aebe155379bb5d594381",
"dateFormat": "%Y-%m-%d"
}
Similar queries
- Latest Curve DEX swaps on Ethereum · Ethereum · DEXTrades
- Top Curve liquidity pools by 24h volume on Ethereum · Ethereum · DEXTrades
- STRN_TOKEN_MULTIPLE_DECIMALS_DEX_TRADES · Ethereum · DEXTrades
- USDT DECIMAL SHOWING 0 · Ethereum · DEXTrades
- Trades - 0xEE61159E8A72A08371c52D62c19Efd0C7914f917 · Ethereum · DEXTrades