FomoBuyingPressure Solana

Returns DEX trades by token on Solana, where transaction signer is AgmLJB…zN51, currency mint address is GLPbc2…pump and DEX protocol name is dflow: count and sum of trade side amount in USD.

By Leon Kokoli · saved 14 October 2026 · Bitquery API v2

What it returns

Filters

The query


query FomoBuyingPressure {
  Solana {
    last5min: DEXTradeByTokens(
      where: {
        Transaction: {
          Signer: {
            is: "AgmLJBMDCqWynYnQiPCuj9ewsNNsBJXyzoUhD9LJzN51"
          }
        }
        Trade: {
          Dex: {
            ProtocolName: {is: "dflow"}
          }
          Currency: {
            MintAddress: {
              is: "GLPbc2tSS844kLztd4Zj1NTSy8zjvHsFud75jnGZpump"
            }
          }
        }
        Block: {
          Time: {since_relative: {minutes_ago: 5}}
        }
      }
    ) {
      buys: count(if: {Trade: {Side: {Type: {is: buy}}}})
      sells: count(if: {Trade: {Side: {Type: {is: sell}}}})
      buyUSD: sum(
        of: Trade_Side_AmountInUSD
        if: {Trade: {Side: {Type: {is: buy}}}}
      )
      sellUSD: sum(
        of: Trade_Side_AmountInUSD
        if: {Trade: {Side: {Type: {is: sell}}}}
      )
    }

    last15min: DEXTradeByTokens(
      where: {
        Transaction: {
          Signer: {
            is: "AgmLJBMDCqWynYnQiPCuj9ewsNNsBJXyzoUhD9LJzN51"
          }
        }
        Trade: {
          Dex: {
            ProtocolName: {is: "dflow"}
          }
          Currency: {
            MintAddress: {
              is: "GLPbc2tSS844kLztd4Zj1NTSy8zjvHsFud75jnGZpump"
            }
          }
        }
        Block: {
          Time: {since_relative: {minutes_ago: 15}}
        }
      }
    ) {
      buys: count(if: {Trade: {Side: {Type: {is: buy}}}})
      sells: count(if: {Trade: {Side: {Type: {is: sell}}}})
      buyUSD: sum(
        of: Trade_Side_AmountInUSD
        if: {Trade: {Side: {Type: {is: buy}}}}
      )
      sellUSD: sum(
        of: Trade_Side_AmountInUSD
        if: {Trade: {Side: {Type: {is: sell}}}}
      )
    }
  }
}

Similar queries