token_price
Returns the latest 2 DEX trades on Ethereum, where pair smart contract is 0xa43f…ec9f or 0xf8bc…845e: buy price, buy seller, buy currency name, buy currency symbol, sell price, sell buyer, sell currency name and 3 more fields.
What it returns
- buy price
- buy seller
- buy currency name
- buy currency symbol
- sell price
- sell buyer
- sell currency name
- sell currency symbol
- block number
- transaction hash
Filters
- pair smart contract is 0xa43f…ec9f or 0xf8bc…845e
The query
query MyQuery {
EVM(dataset: combined, network: eth) {
DEXTrades(
limitBy: {by: Trade_Dex_Pair_SmartContract, count: 1}
limit: {count: 2}
orderBy: {descending: Block_Number}
where: {Trade: {Dex: {Pair: {SmartContract: {in: ["0xa43fe16908251ee70ef74718545e4fe6c5ccec9f", "0xf8bc9d75f76fde3a8e3c1695e7d306b1a79c845e"]}}}}}
) {
Trade {
Buy {
Price
Seller
Currency {
Name
Symbol
}
}
Sell {
Price
Buyer
Currency {
Name
Symbol
}
}
}
Block {
Number
}
Transaction {
Hash
}
}
}
}
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