get liquidity

Streams the latest DEX trade by token on Solana as they happen, where currency mint address is 6p6xgH…GiPN: block time, price in USD, trade amount, currency symbol, currency name and sum of trade amount.

By Thong Nguyen · saved 8 February 2025 · Bitquery API v2

What it returns

Filters

The subscription

subscription {
  Solana {
    DEXTradeByTokens(
      where: {
        Trade: {
          Currency: { MintAddress: { is: "6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN" } }
        }
      }
      orderBy: { descending: Block_Time }
      limit: { count: 1 }
    ) {
      Block {
        Time
      }
      Trade {
        PriceInUSD
        Amount
        Currency {
          Symbol
          Name
        }
      }
      volume: sum(of: Trade_Amount)
    }
  }
}

Similar queries