USDT_USDC

Returns the latest DEX trades on Ethereum, where base currency is 0xdac1…1ec7 or 0xa0b8…eb48: transaction hash, base currency symbol, quote currency symbol, base amount, quote amount and timestamp time.

By Miroshnichenko Vlad · saved 26 June 2024 · run 12 times · Bitquery API v1

What it returns

Filters

The query

query MyQuery {
  ethereum {
    dexTrades(
      options: {desc: "block.timestamp.time"}
      baseCurrency: {in: ["0xdac17f958d2ee523a2206206994597c13d831ec7", "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48"]} # USDT and USDC contract addresses on Ethereum mainnet
      any: [
        {txSender: {is: "0x51f11D024b5aa797edA65e80614bA81CDb6Bc1AF"}}
      ]
    ) {
      transaction {
        hash
      }
      baseCurrency {
        symbol
      }
      quoteCurrency {
        symbol
      }
      baseAmount
      quoteAmount
      block {
        timestamp {
          time(format: "%Y-%m-%d %H:%M:%S")
        }
      }
    }
  }
}

Similar queries