Last_Price_Token
Returns DEX trades on Ethereum, where base currency is 0xa0b8…eb48 and exchange name is Uniswap or Balancer: full name, base currency symbol and maximum of block.
What it returns
- full name
- base currency symbol
- maximum of block
Filters
- base currency is 0xa0b8…eb48
- exchange name is Uniswap or Balancer
The query
query ($network: EthereumNetwork!, $token: String!) {
ethereum(network: $network) {
dexTrades(
baseCurrency: {is: $token}
exchangeName: {in: ["Uniswap", "Balancer"]}
) {
exchange {
fullName
}
baseCurrency {
symbol
}
last_price: maximum(of: block, get: price)
}
}
}
Variables
{
"limit": 10,
"offset": 0,
"network": "ethereum",
"token": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
"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