volume

Returns DEX trades by token on Solana, where currency mint address is J38yt3R5G3HFMWURnjTCc76fYEepfbtqwhGwSwLbpump,8iGXYWUxxrBL7qkpDySD6QNeQsrajCiBVkzuGxV5pump and block time since 2024-09-24: currency symbol, currency name, currency mint address, URI, price in USD and sum of trade side amount in USD.

By chris · saved 12 December 2024 · run 1 time · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  Solana {
    DEXTradeByTokens(
      where: {
        Transaction: { Result: { Success: true } }
        Trade: {
          Currency: {
            MintAddress: { is: "J38yt3R5G3HFMWURnjTCc76fYEepfbtqwhGwSwLbpump,8iGXYWUxxrBL7qkpDySD6QNeQsrajCiBVkzuGxV5pump" }
          }
        }
        Block: { Time: { since: "2024-09-24T08:03:00Z" } }
      }
    ) {
      Trade {
        Currency {
          Symbol
          Name
          MintAddress
          Uri
        }
        PriceInUSD: PriceInUSD(maximum: Block_Time)
      }
      traded_volume: sum(of: Trade_Side_AmountInUSD)
    }
  }
}

Similar queries