Price Against WSOL

5zgTYTDK836G2Fc4ZLQp4rsyi78pAbuDr4qaQUE1pump

Returns the latest DEX trade by token on Solana, where currency mint address is 5zgTYT…pump and side currency mint address is So1111…1112: block time, transaction signature, market address, protocol name, protocol family, amount in USD, trade price and 8 more fields.

By Valli · saved 8 January 2025 · run 2 times · Bitquery API v2

What it returns

Filters

The query

query LatestTrades {
  Solana {
    DEXTradeByTokens(
      orderBy: {descending: Block_Time}
      limit: {count: 1}
      where: {Trade: {Currency: {MintAddress: {is: "5zgTYTDK836G2Fc4ZLQp4rsyi78pAbuDr4qaQUE1pump"}}, Side: {Currency: {MintAddress: {is: "So11111111111111111111111111111111111111112"}}}}}
    ) {
      Block {
        allTime: Time
      }
      Transaction {
        Signature
      }
      Trade {
        Market {
          MarketAddress
        }
        Dex {
          ProtocolName
          ProtocolFamily
        }
        AmountInUSD
        Price
        PriceInUSD
        Amount
        Side {
          Type
          Currency {
            Symbol
            MintAddress
            Name
          }
          AmountInUSD
          Amount
        }
      }
    }
  }
}

Similar queries