Sol-DexTradeByToken

Streams the latest DEX trade by token on Solana as they happen, where side currency mint address is So1111…1112: block time, currency name, currency symbol, currency mint address, trade amount, trade price, price in USD and 6 more fields.

By Jake · saved 6 February 2025 · Bitquery API v2

What it returns

Filters

The subscription

subscription MyQuery {
  Solana {
    DEXTradeByTokens(
      where: {Trade: {Side: {Currency: {MintAddress: {is: "So11111111111111111111111111111111111111112"}}}}, Transaction: {Result: {Success: true}}, Block: {}}
      limit: {count: 1}
      orderBy: {descending: Block_Time}
    ) {
      Block {
        Time
      }
      Trade {
        Currency {
          Name
          Symbol
          MintAddress
        }
        Amount
        PriceAgainstSideCurrency: Price
        PriceInUSD
        Side {
          Currency {
            Name
            Symbol
          }
          Amount
          Type
        }
      }
      Transaction {
        Maker: Signer
        Signature
      }
    }
  }
}

Similar queries