Arbitrage

Streams the latest 10 DEX trades on Ethereum as they happen, where DEX owner address is 0x5c69…aa6f or 0xC0AE…f2Ac: block time, from, to, transaction hash, cost in USD, gas, gas price in USD and 15 more fields.

By Kshitij Mahajan · saved 28 May 2024 · run 25 times · Bitquery API v2

What it returns

Filters

The subscription

subscription {
  EVM(mempool: true, network: eth) {
    buyside: DEXTrades(
      limit: {count: 10}
      orderBy: {descending: Block_Time}
      where: {Trade: {Dex: {OwnerAddress: {in: ["0x5c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f", "0xC0AEe478e3658e2610c5F7A4A2E1777cE9e4f2Ac"]}}}}
    ) {
      Block {
        Time
      }
      Transaction {
        From
        To
        Hash
        CostInUSD
        Gas
        GasPriceInUSD
      }
      Trade {
        Buy {
          Buyer
          Currency {
            Name
            Symbol
            SmartContract
          }
          Seller
          AmountInUSD
          PriceInUSD
        }
        Sell {
          Buyer
          Currency {
            Name
            SmartContract
            Symbol
          }
          Seller
          AmountInUSD
          PriceInUSD
        }
        Dex {
          OwnerAddress
        }
      }
    }
  }
}

Similar queries