token trade
Returns the latest DEX trades on Ethereum, where transaction from is 0x9dda…2c42, transaction hash is 0x4ecd…ca52 and buy currency smart contract is 0xc02a…6cc2: block time, sender fee, buy amount, buy currency symbol, buy smart contract, buy price, sell amount and 6 more fields.
What it returns
- block time
- sender fee
- buy amount
- buy currency symbol
- buy smart contract
- buy price
- sell amount
- sell amount in USD
- sell currency symbol
- sell smart contract
- sell price
- protocol name
- transaction hash
Filters
- transaction from is 0x9dda…2c42
- transaction hash is 0x4ecd…ca52
- buy currency smart contract is 0xc02a…6cc2
The query
query MyQuery {
EVM(dataset: combined, network: eth) {
buyside: DEXTrades(
where: {Transaction: {From: {is: "0x9dda370f43567b9c757a3f946705567bce482c42"}, Hash: {is: "0x4ecd3bdd43c48cdda45a5e4bfe33694849ed4f0f35fe0b6cb66c4470b158ca52"}}, Trade: {Buy: {Currency: {SmartContract: {is: "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2"}}}, Success: true}}
orderBy: {descending: Block_Time}
) {
Block {
Time
}
Fee {
SenderFee
}
Trade {
Buy {
Amount
Currency {
Symbol
SmartContract
}
Price
}
Sell {
Amount
AmountInUSD
Currency {
Symbol
SmartContract
}
Price
}
Dex {
ProtocolName
}
}
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