eth_dextrades_updated

Streams DEX trades on Ethereum as they happen: block time, block number, transaction hash, from, to, transaction index, signature name and 25 more fields.

By gaurav · saved 20 February 2025 · Bitquery API v2

What it returns

The subscription

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

Similar queries