amount_in_usd

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, amount in USD, currency name, decimals, side amount and 3 more fields.

By Omkar_BQ · saved 14 January 2025 · run 10 times · Bitquery API v2

What it returns

Filters

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
        AmountInUSD
        Currency {
          Name
          SmartContract
          Decimals
        }
        Side {
          Amount	
          Currency {
            Name
            SmartContract
            Decimals
          }
        }
      }
    }
  }
}

Variables

{
  "network": "eth",
  "base": "0x1f9840a85d5af5bf1d1762f925bdaddc4201f984",
  "token": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
  "time_ago": "2025-01-10T08:41:32Z",
  "dataset": "combined",
  "interval": 60
}

Similar queries