ERC20 token trades
Returns the latest DEX trades by token on Ethereum, where currency smart contract is 0x7A4f…7547, block date since 2024-02-01 and block date till 2024-02-14: chain ID, block number, block time, seller, buyer, trade amount, smart contract and 15 more fields.
What it returns
- chain ID
- block number
- block time
- seller
- buyer
- trade amount
- smart contract
- currency symbol
- currency name
- trade price
- side amount
- side smart contract
- side currency symbol
- side currency name
- transaction hash
- from
- gas price
- cost
- transaction value
- gas used
- cumulative gas used
- status
Filters
- currency smart contract is 0x7A4f…7547
- block date since 2024-02-01
- block date till 2024-02-14
The query
query ($network: evm_network, $token: String, $from: String, $till: String) {
EVM(network: $network, dataset: combined) {
DEXTradeByTokens(
orderBy: {descending: Block_Number}
where: {Trade: {Currency: {SmartContract: {is: $token}}}, Block: {Date: {since: $from, till: $till}}}
) {
ChainId
Block {
Number
Time
}
Trade {
Seller
Buyer
Amount
Currency {
SmartContract
Symbol
Name
}
Price
Side {
Amount
Currency {
SmartContract
Symbol
Name
}
}
}
Transaction {
Hash
From
GasPrice
Cost
Value
}
Receipt {
GasUsed
CumulativeGasUsed
Status
}
}
}
}
Variables
{
"network": "eth",
"from": "2024-02-01",
"till": "2024-02-14",
"offset": 0,
"token": "0x7A4f956405838a1e6A42C71036310dB09C3a7547"
}
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