solana high price

Returns one DEX trade by token on Solana, where currency mint address is 8bdhP1…MS7N and block time since 2024-12-24, sorted by trade price in USD, highest first: transaction signature, trade amount, trade price, price in USD, currency symbol, currency name, currency mint address and 4 more fields.

By gaurav · saved 24 December 2024 · run 7 times · Bitquery API v2

What it returns

Filters

The query

query SolanaAllTimeHighTransferQuery($tokenAddress: String!, $startTime: DateTime!) {
  Solana(network: solana, dataset: realtime) {
    DEXTradeByTokens(
      where: {Trade: {Currency: {MintAddress: {is: $tokenAddress}}},
        Block: {Time: {since: $startTime}}}
      orderBy: {descending: Trade_PriceInUSD}
      limit: {count: 1}
    ) {
      Transaction{
        Signature
      }
      Trade {
        Amount
        Price
        PriceInUSD
        Currency {
          Symbol
          Name
          MintAddress
        }
        Side {
          Amount
          Currency {
            Name
            Symbol
            MintAddress
          }
        }
      }
    }
  }
}

Variables

{
    "tokenAddress": "8bdhP1UQMevciC9oJ7NrvgDfoW8XPXPfbkkm6vKtMS7N",
    "startTime": "2024-12-24T07:29:40Z"
}

Similar queries