Ras_Price
Returns the latest DEX trade on Ethereum, where buy currency smart contract is 0x19dd…c3ef and sell currency smart contract is 0xc02a…6cc2: buy buyer, buy decimals, buy smart contract, buy currency name, buy price, sell buyer, sell price and 3 more fields.
What it returns
- buy buyer
- buy decimals
- buy smart contract
- buy currency name
- buy price
- sell buyer
- sell price
- sell seller
- sell smart contract
- sell currency name
Filters
- buy currency smart contract is 0x19dd…c3ef
- sell currency smart contract is 0xc02a…6cc2
The query
query MyQuery {
EVM(dataset: combined, network: eth) {
DEXTrades(
orderBy: {descending: Block_Number}
limit: {count: 1}
where: {Trade: {Buy: {Currency: {SmartContract: {is: "0x19dd1cc08a8bdb124a3f57a364f1d72b7a19c3ef"}}}, Sell: {Currency: {SmartContract: {is: "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2"}}}}}
) {
Trade {
Buy {
Buyer
Currency {
Decimals
SmartContract
Name
}
Price
}
Sell {
Buyer
Price
Seller
Currency {
SmartContract
Name
}
}
}
}
}
}
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