Most-Traded-Tokens-from-the-List

Returns 10 DEX trades by token on Solana, where currency mint address is EhpEMk…pump, Eiw45E…pump or 3 more, sorted by volume, highest first: currency name, currency symbol, currency mint address and sum of trade amount.

By Kshitij Mahajan · saved 23 July 2024 · run 4 times · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  Solana {
    DEXTradeByTokens(
      limit: {count: 10}
      orderBy: {descendingByField: "volume"}
      where: {Trade:{
        Currency: {
          MintAddress: {
            in: [
              "EhpEMkgxBkZpSMN1twgXmbjxiyZtBReCoAjtxsWNpump",
              "Eiw45EMRgzVGmvGRSqZrtGiXyn3LHUrtG65HvWd6pump",
              "5A6h8bNiu7f9ZfBX4iTCzazn9uNQxyUzEyhTb4Q8pump",
              "J2xP2V1FrqLCwz6joqhvcRAR9UST4rRkBz6JyuuQpump",
              "CHn1N1yJar6SwBTckd3Tnq6XMM34xTbGfkxrk2wvpump",
            ]
          }
        }
      }
      }
    ) {
      Trade {
        Currency {
          Name
          Symbol
          MintAddress
        }
      }
      volume: sum(of: Trade_Amount)
    }
  }
}

Similar queries