test query
Returns the latest DEX trade by token on Ethereum, where transaction hash is 0xcae0…0c71: chain ID, block number, block time, seller, buyer, trade amount, smart contract and 13 more fields.
What it returns
- chain ID
- block number
- block time
- seller
- buyer
- trade amount
- smart contract
- currency symbol
- trade price
- side amount
- side smart contract
- side currency symbol
- transaction hash
- gas
- gas price
- transaction value
- gas tip cap
- gas fee cap
- from
- cost
Filters
- transaction hash is 0xcae0…0c71
The query
query ($network: evm_network, $limit: Int!) {
EVM(network: $network dataset:archive) {
DEXTradeByTokens(
orderBy: {descending: Block_Number}
limit: {count: $limit}
where: {Transaction: {
Hash: {
is: "0xcae05e9563238c6b787ded82ff703ad112ca638a8554709c1b9e194f420b0c71"
}
}}
) {
ChainId
Block {
Number
Time
}
Trade {
Seller
Buyer
Amount
Currency {
SmartContract
Symbol
}
Price
Side {
Amount
Currency {
SmartContract
Symbol
}
}
}
Transaction {
Hash
Gas
GasPrice
Value
GasTipCap
GasFeeCap
From
Cost
}
}
}
}
Variables
{
"network": "eth",
"limit": 1,
"offset": 0,
"token": "0x5f64ab1544d28732f0a24f4713c2c8ec0da089f0"
}
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