DexTradesQuery

Streams DEX trades on BNB Chain as they happen: buy price, buy amount, buy currency symbol, buy smart contract, buy currency name, buy has URI, buy fungible and 17 more fields.

By Emre A · saved 27 June 2024 · Bitquery API v2

What it returns

The subscription

subscription DexTradesQuery {
  EVM(network: bsc) {
    DEXTrades(where: {TransactionStatus: {Success: true}}) {
      Trade {
        Buy {
          Price
          Amount
          Currency {
            Symbol
            SmartContract
            Name
            HasURI
            Fungible
            Decimals
          }
          Seller
        }
        Dex {
          Pair {
            SmartContract
            Decimals
          }
        }
        Sell {
          Amount
          Currency {
            Name
            ProtocolName
            Symbol
            SmartContract
            Decimals
            HasURI
            Fungible
          }
          Buyer
          Price
          Seller
        }
        Sender
      }
      Transaction {
        Hash
      }
    }
  }
}

Similar queries