transactions volume makers of a token for a given time frame
Returns DEX trades by token on Ethereum, where currency smart contract is 0x5149…86ca and block time since 2025-02-24: count, sum of trade amount in USD and unique of transaction from.
What it returns
- count
- sum of trade amount in USD
- unique of transaction from
Filters
- currency smart contract is 0x5149…86ca
- block time since 2025-02-24
The query
query MyQuery($since: DateTime) {
EVM(network: eth, dataset: combined) {
DEXTradeByTokens(
where: {Trade: {Currency: {SmartContract: {is: "0x514910771af9ca656af840dff83e8264ecf986ca"}}}, Block: {Time: {since: $since}}}
) {
buys: count(if: {Trade: {Side: {Type: {is: buy}}}})
sells: count(if: {Trade: {Side: {Type: {is: sell}}}})
buyVolume: sum(of: Trade_AmountInUSD, if: {Trade: {Side: {Type: {is: buy}}}})
sellVolume: sum(of: Trade_AmountInUSD, if: {Trade: {Side: {Type: {is: sell}}}})
buyers: uniq(of: Transaction_From, if: {Trade: {Side: {Type: {is: buy}}}})
sellers: uniq(of: Transaction_From, if: {Trade: {Side: {Type: {is: sell}}}})
}
}
}
Variables
{
"since": "2025-02-24T19:40:00Z"
}
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