TX trade shows wring USD value
dextrade by token
Returns DEX trades by token on Ethereum, where transaction hash is 0x35ff…77ef, currency name is Uniswap and block date is 2025-01-10: block time, smart contract, trade amount, currency name, side amount, side currency name, side smart contract and 7 more fields.
What it returns
- block time
- smart contract
- trade amount
- currency name
- side amount
- side currency name
- side smart contract
- price in USD
- trade price
- quantile of trade price in USD
- median of trade price in USD
- count
- transaction hash
- sum of trade side amount in USD
Filters
- transaction hash is 0x35ff…77ef
- currency name is Uniswap
- block date is 2025-01-10
The query
query tradingViewPairs {
EVM(network: eth, dataset: archive) {
DEXTradeByTokens(
where: {
Block: {
Date: {
is: "2025-01-10"
}
}
Trade: {
Currency: {
Name: {
is: "Uniswap"
}
}
}
Transaction: {
Hash: {
is: "0x35ff4252451da5637b886dbb8d0546399d36f4316d517212279e0adb0a5277ef"
}
}
}
) {
Block {
Time
}
Trade {
Dex {
SmartContract
}
Amount
Currency {
Name
SmartContract
}
Side {
Amount
Currency {
Name
SmartContract
}
}
open: PriceInUSD(minimum: Block_Number)
close: PriceInUSD(maximum: Block_Number)
low: PriceInUSD(minimum: Trade_PriceInUSD)
minEth: Price(minimum: Trade_Price)
high: PriceInUSD(maximum: Trade_PriceInUSD)
}
minQ: quantile(of: Trade_PriceInUSD, level: 0.1)
maxQ: quantile(of: Trade_PriceInUSD, level: 0.9)
average: median(of: Trade_PriceInUSD)
count
Transaction {
Hash
}
volume: sum(of: Trade_Side_AmountInUSD)
}
}
}
Variables
{
"network": "eth",
"base": "0x1f9840a85d5af5bf1d1762f925bdaddc4201f984",
"token": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
"time_ago": "2025-01-10T08:41:32Z",
"dataset": "combined",
"interval": 60
}
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