Latest Trades of Token in Network_dextrades
Returns the latest 10 DEX trades by token on Arbitrum, where currency smart contract is 0xfd08…cbb9, block date since 2024-01-20 and block date till 2024-01-29: chain ID, block number, block time, seller, buyer, trade amount, amount in USD and 12 more fields.
What it returns
- chain ID
- block number
- block time
- seller
- buyer
- trade amount
- amount in USD
- smart contract
- currency symbol
- currency name
- trade price
- price in USD
- price asymmetry
- side amount
- side amount in USD
- side smart contract
- side currency symbol
- side currency name
- transaction hash
Filters
- currency smart contract is 0xfd08…cbb9
- block date since 2024-01-20
- block date till 2024-01-29
The query
query ($network: evm_network, $limit: Int, $token: String, $from: String, $till: String) {
EVM(network: $network, dataset: combined) {
DEXTradeByTokens(
orderBy: {descending: Block_Number}
limit: {count: $limit}
where: {Trade: {Currency: {SmartContract: {is: $token}}}, Block: {Date: {since: $from, till: $till}}}
) {
ChainId
Block {
Number
Time
}
Trade {
Seller
Buyer
Amount
AmountInUSD
Currency {
SmartContract
Symbol
Name
}
Price
PriceInUSD
PriceAsymmetry
Side {
Amount
AmountInUSD
Currency {
SmartContract
Symbol
Name
}
}
}
Transaction {
Hash
}
}
}
}
Variables
{
"network": "arbitrum",
"from": "2024-01-20",
"till": "2024-01-29",
"limit": 10,
"offset": 0,
"token": "0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9"
}
Similar queries
- optimized query to get pools data · Ethereum · DEXTradeByTokens
- AfricaCryptoChainx · Ethereum · DEXTradeByTokens
- UniversalSearch EVM · Ethereum · DEXTradeByTokens
- without fragment · Ethereum · DEXTradeByTokens
- trade stats for a token pair on uniswap v4 arbitrum · Arbitrum · DEXTradeByTokens