token_price
Returns the latest 2 DEX trades on Ethereum, where smart contract address is 0xa43f…ec9f or 0xf8bc…845e: quote price, block height, base currency name, base currency symbol, base currency address, quote currency name, quote currency symbol and 2 more fields.
What it returns
- quote price
- block height
- base currency name
- base currency symbol
- base currency address
- quote currency name
- quote currency symbol
- quote currency address
- address address
Filters
- smart contract address is 0xa43f…ec9f or 0xf8bc…845e
The query
query MyQuery {
ethereum(network: ethereum) {
dexTrades(
smartContractAddress: {in: ["0xa43fe16908251ee70ef74718545e4fe6c5ccec9f", "0xf8bc9d75f76fde3a8e3c1695e7d306b1a79c845e"]}
options: {limit: 2, desc: "block.height", limitBy: {each: "smartContract.address.address", limit: 1}}
) {
quotePrice
block {
height
}
baseCurrency {
name
symbol
address
}
quoteCurrency {
name
symbol
address
}
smartContract {
address {
address
}
}
}
}
}
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