getLibraryTokenTradesByDates
Returns the latest DEX trades by token on Ethereum, where block time since 2025-02-16 and block time till 2025-02-17: block time, transaction hash, buyer, seller, trade amount, amount in USD, price in USD and 13 more fields.
What it returns
- block time
- transaction hash
- buyer
- seller
- trade amount
- amount in USD
- price in USD
- currency symbol
- smart contract
- currency name
- decimals
- side type
- side currency symbol
- side smart contract
- side currency name
- side decimals
- side amount in USD
- side amount
- protocol family
- protocol name
Filters
- block time since 2025-02-16
- block time till 2025-02-17
The query
query getLibraryTokenTradesByDates(
$dataset: dataset_arg_enum!
$network: evm_network!
$wallets: [String!]
$since: DateTime!
$till: DateTime!
) {
EVM(dataset: $dataset, network: $network) {
DEXTradeByTokens(
orderBy: { descending: Block_Time }
where: {
Trade: { Success: true }
Block: { Time: { since: $since, till: $till } }
any: [
{ Trade: { Seller: { in: $wallets } } }
{ Trade: { Buyer: { in: $wallets } } }
]
}
) {
Block {
Time
}
Transaction {
Hash
}
Trade {
Buyer
Seller
Amount
AmountInUSD
PriceInUSD
Currency {
Symbol
SmartContract
Name
Decimals
}
Side {
Type
Currency {
Symbol
SmartContract
Name
Decimals
}
AmountInUSD
Amount
}
Dex {
ProtocolFamily
ProtocolName
}
}
}
}
}
Variables
{
"network": "eth",
"dataset": "combined",
"till": "2025-02-17T12:59:59.000Z",
"since": "2025-02-16T12:59:59.000Z",
"wallets": ["0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"]
}
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