solana_net

Returns DEX trades by token on Solana, where currency mint address is Faf899…3Gvw, side currency mint address is So1111…1112 and block time since 2024-06-21: currency symbol, currency name, currency mint address, sum of trade amount and sum of trade amount in USD.

By Oluwatomisin · saved 24 June 2024 · run 9 times · Bitquery API v2

What it returns

Filters

The query

query {
  Solana {
    DEXTradeByTokens(
      where: {Trade: {Currency: {MintAddress: {is: "Faf89929Ni9fbg4gmVZTca7eW6NFg877Jqn6MizT3Gvw"}}, Side: {Currency: {MintAddress: {is: "So11111111111111111111111111111111111111112"}}}}, Block: {Time: {since: "2024-06-21T20:34:00Z", till: "2024-06-22T21:34:00Z"}}}
    ) {
      Trade {
        Currency {
          Symbol
          Name
          MintAddress
        }
      }
      Trade_amt: sum(of: Trade_Amount)
      Trade_amt_USD: sum(of: Trade_AmountInUSD)
    }
  }
}

Similar queries