Get Price of Multiple Tokens on Tron

Returns the latest 10 DEX trades on Tron, where buy currency smart contract is TE2T2v…hweR or TNUC9Q…jWFR: block time, protocol name, protocol family, smart contract, buy amount, buy buyer, buy seller and 16 more fields.

By Divyasshree · saved 9 October 2024 · run 1 time · Bitquery API v2

What it returns

Filters

The query

{
  Tron(dataset: realtime, network: tron) {
    DEXTrades(
      where: {Trade: {Buy: {Currency: {SmartContract: {in: ["TE2T2vLnEQT1XW647EAQAHWqd6NZL1hweR", "TNUC9Qb1rRpS5CbWLmNMxXBjyFoydXjWFR"]}}}}}
      limit: {count: 10}
      orderBy: {descending: Block_Time}
    ) {
      Block {
        Time
      }
      Trade {
        Dex {
          ProtocolName
          ProtocolFamily
          SmartContract
        }
        Buy {
          Amount
          Buyer
          Seller
          Currency {
            Decimals
            Fungible
            HasURI
            Name
            ProtocolName
            SmartContract
            Symbol
          }
          OrderId
        }
        Sell {
          Buyer
          Seller
          Currency {
            Fungible
            Decimals
            Name
            Native
            SmartContract
            Symbol
          }
        }
      }
    }
  }
}

Similar queries