N8n v2 api
Returns the latest 100 DEX trades on Ethereum: block time, transaction hash, buy amount, buy price, buy currency symbol, sell amount, sell price and sell currency symbol.
What it returns
- block time
- transaction hash
- buy amount
- buy price
- buy currency symbol
- sell amount
- sell price
- sell currency symbol
The query
{
EVM(network: eth, dataset: combined) {
DEXTrades(
where: {any: [{Trade: {Buy: {Currency: {SmartContract: {is: "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599"}}}, Sell: {Currency: {SmartContract: {is: "0xdac17f958d2ee523a2206206994597c13d831ec7"}}}}}, {Trade: {Buy: {Currency: {SmartContract: {is: "0xdac17f958d2ee523a2206206994597c13d831ec7"}}}, Sell: {Currency: {SmartContract: {is: "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599"}}}}}]}
orderBy: {descending: Block_Time}
limit: {count: 100}
) {
Block {
Time
}
Transaction {
Hash
}
Trade {
Buy {
Amount
Price
Currency {
Symbol
}
}
Sell {
Amount
Price
Currency {
Symbol
}
}
}
}
}
}
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