e.g. trade showing both sides solana

Returns 10 DEX trades by token on Solana: block time, slot, block height, currency name, currency symbol, currency mint address, decimals and 24 more fields.

By Divyasshree · saved 17 October 2025 · Bitquery API v2

What it returns

The query

{
  Solana(network: solana) {
    DEXTradeByTokens(
      where: {Transaction: {Result: {Success: true}}}
      limitBy: {by: Transaction_Signature, count: 1}
      limit: {count: 10}
    ) {
      Block {
        Time
        Slot
        Height
      }
      Trade {
        Currency {
          Name
          Symbol
          MintAddress
          Decimals
        }
        Price
        PriceInUSD
        Amount
        AmountInUSD
        Account {
          Address
          Token {
            Owner
          }
        }
        Side {
          Type
          Currency {
            Name
            Symbol
            MintAddress
            Decimals
          }
          Amount
          AmountInUSD
        }
        Dex {
          ProtocolName
          ProtocolFamily
          ProgramAddress
        }
        Market {
          MarketAddress
        }
        Index
        PriceAsymmetry
      }
      Transaction {
        Signature
        Signer
        FeePayer
        Fee
        FeeInUSD
      }
    }
  }
}

Similar queries