solana dex trade by transaction

solana dex trade by transaction; The orderBy: {descending: Trade_priceInUSD} instruction fetches the transaction that took place when the price of the token at was at the ATH first, then the transactions that led it there, in descending order

By Samuel Isirima · saved 16 December 2024 · run 3 times · Bitquery API v2

What it returns

Filters

The query


query HistoricalMarketCap {
  Solana {
    DEXTradeByTokens(
      limit: {count: 50}
      where: {Trade: {Currency: {MintAddress: {in: ["3MiGvmUmfUxFT8qRAPfL5ovzETnYbyDsXzworZ4zpump", "2kfSx3HBmSLEsab5nYR1wcW3i9UpoXYPygFJpURGpump"]}}}, Block: {Time: {after: "2024-12-15T00:00:00Z" }}}
      orderBy: {descending: Trade_PriceInUSD}
      limitBy: {by: Block_Height, count: 1}
    ) {
      Block {
        Height
        Time
      }
      Trade {
        PriceInUSD
         Currency {
            Name
            Symbol
            MintAddress
          }
      }
    }
  }
}

Similar queries