top tokens on ton

Returns 100 DEX trades by token on TON, where block time since 2024-11-09, sorted by count, highest first: currency name, fungible, currency symbol, smart contract address, workchain, trade amount, amount in USD and 7 more fields.

By Akshat · saved 12 November 2024 · run 1 time · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  Ton {
    DEXTradeByTokens(
      where: {Block: {Time: {since: "2024-11-09T00:00:00Z"}}, Trade: {Success: true}}
      orderBy: {descendingByField: "count"}
      limit: {count: 100}
    ) {
      Trade {
        Currency {
          Name
          Fungible
          Symbol
          SmartContract {
            Address
            Workchain
          }
        }
        Amount(maximum:Block_Number)
        AmountInUSD(maximum:Block_Number)
      }
      pairs: uniq(of:Trade_Side_Currency_SmartContract_Address)
      dexes: uniq(of:Trade_Dex_SmartContract_Address)
      amount: sum(of:Trade_Amount)
      amountinUSD: sum(of: Trade_AmountInUSD)
      buyers: uniq(of:Trade_Buyer_Address)
      sellers: uniq(of:Trade_Seller_Address)
      count
    }
  }
}

Similar queries