Solana dextrades for a token

测试用例1

Returns the latest 25000 DEX trades on Solana: program address, protocol name, protocol family, buy amount, buy amount in USD, buy currency symbol, buy currency name and 18 more fields.

By han wei · saved 23 May 2026 · run 1 time · Bitquery API v2

What it returns

The query

query LatestTrades {
  Solana {
    DEXTrades(
      where: {
        any: [
          {Trade: {Buy: {Currency: {MintAddress: {is: "5zCETicUCJqJ5Z3wbfFPZqtSpHPYqnggs1wX7ZRpump"}}}}}
          {Trade: {Sell: {Currency: {MintAddress: {is: "5zCETicUCJqJ5Z3wbfFPZqtSpHPYqnggs1wX7ZRpump"}}}}}
        ]
        Transaction: {Result: {Success: true}}
      }
      limit: {count: 25000}
      orderBy: {descending: Block_Time}
    ) {
      Trade {
        Dex {
          ProgramAddress
          ProtocolName
          ProtocolFamily
        }
        Buy {
          Amount
          AmountInUSD
          Currency {
            Symbol
            Name
            MintAddress
          }
          Price
          PriceInUSD
          Account {
            Address
            Token {
              Owner
            }
          }
        }
        Sell {
          Amount
          AmountInUSD
          Currency {
            Symbol
            Name
            MintAddress
          }
          Price
          PriceInUSD
          Account {
            Address
            Token {
              Owner
            }
          }
        }
      }
      Block {
        Time
        Height
      }
      Transaction {
        Signature
        FeePayer
      }
    }
  }
}

Similar queries