recent trades

Streams DEX trades on Ethereum as they happen: block number, block time, from, to, transaction hash, owner address, smart contract and 19 more fields.

By gaurav · saved 14 May 2024 · run 1 time · Bitquery API v2

What it returns

The subscription

subscription {
  EVM(network: eth) {
    DEXTrades {
      Block {
        Number
        Time
      }
      Transaction {
        From
        To
        Hash
      }
      Trade {
        Dex {
          OwnerAddress
          SmartContract
          ProtocolName
        }
        Buy {
          Amount
          AmountInUSD
          Buyer
          Currency {
            Name
            Symbol
            SmartContract
          }
          Seller
          Price
          PriceInUSD
        }
        Sell {
          Amount
          AmountInUSD
          Buyer
          Currency {
            Name
            SmartContract
            Symbol
          }
          Seller
          Price
          PriceInUSD
        }
      }
    }
  }
}

Similar queries