Price of WIN in terms of USDT on Tron

Streams DEX trades on Tron as they happen, where sell currency smart contract is TLa2f6…YjU7 and buy currency smart contract is TR7NHq…Lj6t: block time, buy amount, buy buyer, buy seller, buy price, buy currency name, buy currency symbol and 14 more fields.

By Akshat · saved 25 April 2024 · run 1 time · Bitquery API v2

What it returns

Filters

The subscription

subscription {
  Tron {
    DEXTrades(
      where: {Trade: {Sell: {Currency: {SmartContract: {is: "TLa2f6VPqDgRE67v1736s7bJ8Ray5wYjU7"}}}, Buy: {Currency: {SmartContract: {is: "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t"}}}}}
    ) {
      Block {
        Time
      }
      Trade {
        Buy {
          Amount
          Buyer
          Seller
          Price_in_terms_of_sell_currency: Price
          Currency {
            Name
            Symbol
            SmartContract
          }
          OrderId
        }
        Sell {
          Amount
          Buyer
          Seller
          Price_in_terms_of_buy_currency: Price
          Currency {
            Symbol
            SmartContract
            Name
          }
          OrderId
        }
        Dex {
          ProtocolFamily
          ProtocolName
          SmartContract
          ProtocolVersion
        }
      }
    }
  }
}

Similar queries