trading volume of a token moonshot

Returns DEX trades by token on Solana, where currency mint address is A1Xqfc…M3Vk, DEX program address is MoonCV…QTrG and block time since 2024-08-13: currency name, currency symbol, currency mint address, protocol name, protocol family, side currency name, side currency symbol and 2 more fields.

By Akshat · saved 13 August 2024 · run 15 times · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  Solana {
    DEXTradeByTokens(
      where: {Trade: {Currency: {MintAddress: {is: "A1XqfcD1vMEhUNwEKvBVRWFV48ZLDL4oheFVCPEcM3Vk"}}, Dex: {ProgramAddress: {is: "MoonCVVNZFSYkqNXP6bxHLPL6QQJiMagDL3qcqUQTrG"}}}, Block: {Time: {since: "2024-08-13T08:05:00Z"}}, Transaction: {Result: {Success: true}}}
    ) {
      Trade {
        Currency {
          Name
          Symbol
          MintAddress
        }
        Dex {
          ProtocolName
          ProtocolFamily
        }
        Side{
          Currency{
            Name
            Symbol
            MintAddress
          }
        }
      }
      TradeVolume: sum(of: Trade_Side_AmountInUSD)
    }
  }
}

Similar queries