DexTrade_iFan
Returns the latest 10 DEX trades by token on Ethereum, where currency smart contract is 0xae84…a331: chain ID, block number, block time, seller, buyer, trade amount, smart contract and 8 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
Filters
- currency smart contract is 0xae84…a331
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
Currency {
SmartContract
Symbol
Name
}
Price
Side {
Amount
Currency {
SmartContract
Symbol
Name
}
}
}
Transaction {
Hash
}
}
}
}
Variables
{"mempool":false,"network":"eth","limit":10,"offset":0,"token":"0xae84013bb37ef96abe16f5017a50c1e4d870a331","from":null,"till":null,"dateFormat":"%Y-%m","date_middle":null}
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