Trades price and market cap of a token 15s ago

Returns DEX trades by token on Solana, where currency mint address is 9BB6NF…pump and block time since 2025-05-28: price in USD, post balance in USD, post balance, currency symbol, currency mint address, currency name and block time.

By Kshitij Mahajan · saved 28 May 2025 · run 2 times · Bitquery API v2

What it returns

Filters

The query

query MyQuery($time_15s: DateTime) {
  Solana {
    DEXTradeByTokens(
      where: {Trade: {Currency: {MintAddress: {is: "9BB6NFEcjBCtnNLFko2FqVQBq8HHM13kCyYcdQbgpump"}}}, Block: {Time: {since: $time_15s}}}
      limitBy: {by: Trade_Currency_MintAddress, count: 1}
    ) {
      Trade {
        PriceInUSD
      }
      joinTokenSupplyUpdates(
        TokenSupplyUpdate_Currency_MintAddress: Trade_Currency_MintAddress
        where: {Block: {Time: {since: $time_15s}}}
        orderBy: {ascending: Block_Time}
      ) {
        TokenSupplyUpdate {
          PostBalanceInUSD
          PostBalance
          Currency {
            Symbol
            MintAddress
            Name
          }
        }
        Block {
          Time
        }
      }
    }
  }
}

Variables

{
  "time_15s": "2025-05-28T13:05:00Z"
}

Similar queries