Latest-Price-of-WETH-USDT-Pair-on-Uniswap-Exchange

Streams DEX trades as they happen, where buy currency smart contract is 0xC02a…6Cc2, sell currency smart contract is 0xdAC1…1ec7 and DEX owner address is 0x1F98…F984: buy price in USD.

By Kshitij Mahajan · saved 20 June 2024 · run 2 times · Bitquery API v2

What it returns

Filters

The subscription

subscription {
  EVM {
    DEXTrades(
      where: {Trade: {Buy: {Currency: {SmartContract: {is: "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2"}}}, Sell: {Currency: {SmartContract: {is: "0xdAC17F958D2ee523a2206206994597C13D831ec7"}}}, Dex: {OwnerAddress: {is: "0x1F98431c8aD98523631AE4a59f267346ea31F984"}}}}
    ) {
      Trade {
        Buy {
          PriceInUSD
        }
      }
    }
  }
}

Similar queries