MarketCap

Find market cap of specific token

Returns 5 DEX trades by token on Solana, where currency mint address is 5LafQU…oMtA and block time after 2024-10-19, sorted by block time: block height, block time and price in USD.

By Astra One · saved 23 October 2024 · run 37 times · Bitquery API v2

What it returns

Filters

The query

query HistoricalMarketCap($tokenMintAddress: String!, $startTime: DateTime!) {
  Solana {
    DEXTradeByTokens(
      limit: {count: 5}
      where: {Trade: {Currency: {MintAddress: {is: $tokenMintAddress}}}, Block: {Time: {after: $startTime}}}
      orderBy: {ascending: Block_Time}
      limitBy: {by: Block_Height, count: 1}
    ) {
      Block {
        Height
        Time
      }
      Trade {
        PriceInUSD
      }
    }
  }
}

Variables

{
  "tokenMintAddress":"5LafQUrVco6o7KMz42eqVEJ9LW31StPyGjeeu5sKoMtA",
  "startTime":"2024-10-19T09:36:17Z"
}

Similar queries