Latest Trades

Streams the latest 5 DEX trades by token on Solana as they happen, where currency mint address is 6p6xgH…GiPN and side currency mint address is So1111…1112, EPjFWd…Dt1v or 3 more: success, protocol name, protocol family, amount in USD, price in USD, trade amount, currency name and 9 more fields.

By SVell · saved 17 April 2025 · run 6 times · Bitquery API v2

What it returns

Filters

The subscription

subscription {
  Solana {
    DEXTradeByTokens(
      orderBy: {descending: Block_Time}
      limit: {count: 5}
      where: {Trade: {Currency: {MintAddress: {is: "6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN"}}, Side: {Currency: {MintAddress: {in: ["", "So11111111111111111111111111111111111111112", "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v", "Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB", "JUPyiwrYJFskUPiHa7hkeR8VUtAeFoSYbKedZNsDvCN", "EKpQGSJtjMFqKZ9KQanSqYXRcF8fBopzLHYxdM65zcjm"]}}}}}
    ) {
      Transaction {
        Result {
          Success
        }
      }
      Trade {
        Dex {
          ProtocolName
          ProtocolFamily
        }
        AmountInUSD
        PriceInUSD
        Amount
        Currency {
          Name
          Symbol
        }
        Side {
          Type
          Currency {
            Symbol
            MintAddress
            Name
          }
          AmountInUSD
          Amount
        }
        Account {
          Address
        }
        Price
      }
    }
  }
}

Similar queries