buy&sell_volume_1hr
problematic currencies
Returns DEX trades on Ethereum, where pair smart contract is 0x7945…cf3e, block time till 2024-05-16 and block time since 2024-05-16: sum of trade sell amount in USD and sum of trade buy amount in USD.
What it returns
- sum of trade sell amount in USD
- sum of trade buy amount in USD
Filters
- pair smart contract is 0x7945…cf3e
- block time till 2024-05-16
- block time since 2024-05-16
The query
query MyQuery {
EVM(dataset: combined, network: eth) {
DEXTrades(
where: {Trade: {Dex: {Pair: {SmartContract: {is: "0x7945819d6cab17f94c4089c28767e164ed4acf3e"}}}}, Block: {Time: {till: "2024-05-16T10:15:23Z", since: "2024-05-16T09:15:23Z"}}}
) {
buy_volume_in_usd: sum(
of: Trade_Sell_AmountInUSD
if: {Trade: {Sell: {Currency: {SmartContract: {is: "0x44aad22afbb2606d7828ca1f8f9e5af00e779ae1"}}}}}
)
sell_volume_in_usd: sum(
of: Trade_Buy_AmountInUSD
if: {Trade: {Buy: {Currency: {SmartContract: {is: "0x44aad22afbb2606d7828ca1f8f9e5af00e779ae1"}}}}}
)
}
}
}
Similar queries
- Latest Curve DEX swaps on Ethereum · Ethereum · DEXTrades
- Top Curve liquidity pools by 24h volume on Ethereum · Ethereum · DEXTrades
- STRN_TOKEN_MULTIPLE_DECIMALS_DEX_TRADES · Ethereum · DEXTrades
- USDT DECIMAL SHOWING 0 · Ethereum · DEXTrades
- Trades - 0xEE61159E8A72A08371c52D62c19Efd0C7914f917 · Ethereum · DEXTrades