query token trade
Returns the latest 50 DEX trades by token on Ethereum, where currency smart contract is 0x5de7…023d and block time before 2024-09-18: trade amount, amount in USD, currency symbol, buyer, protocol name, smart contract, seller and 10 more fields.
What it returns
- trade amount
- amount in USD
- currency symbol
- buyer
- protocol name
- smart contract
- seller
- price in USD
- side currency symbol
- side amount
- side amount in USD
- side buyer
- side seller
- transaction hash
- from
- block hash
- block time
Filters
- currency smart contract is 0x5de7…023d
- block time before 2024-09-18
The query
{
EVM(network: eth, dataset: combined) {
DEXTradeByTokens(
orderBy: {descending: Block_Time}
where: {Trade: {Currency: {SmartContract: {is: "0x5de758bba013e58dae2693aea3f0b12b31a3023d"}}}, Block: {Time: {before: "2024-09-18T10:25:20.687Z"}}, TransactionStatus: {Success: true}}
limit: {count: 50, offset: 0}
) {
Trade {
Amount
AmountInUSD
Currency {
Symbol
__typename
}
Buyer
Dex {
ProtocolName
SmartContract
__typename
}
Seller
PriceInUSD
Side {
Currency {
Symbol
__typename
}
Amount
AmountInUSD
Buyer
Seller
__typename
}
__typename
}
Transaction {
Hash
From
__typename
}
Block {
Hash
Time
__typename
}
__typename
}
__typename
}
}
Similar queries
- CRV hourly OHLC on Curve - Ethereum · Ethereum · DEXTradeByTokens
- Top Metric liquidity pools by 24h volume on Ethereum · Ethereum · DEXTradeByTokens
- ATH of eth token · Ethereum · DEXTradeByTokens
- historical price and historical volume · Ethereum · DEXTradeByTokens
- topTraders EVM · Ethereum · DEXTradeByTokens