solana high price

Returns one DEX trade by token on Solana, where DEX program address is 675kPX…1Mp8, 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 10 times · Bitquery API v2

What it returns

Filters

The query

query SolanaAllTimeHighTransferQuery($tokenAddress: String!, $startTime: DateTime!) {
  Solana(network: solana, dataset: realtime) {
    DEXTradeByTokens(
      where: {Transaction: {Result: {Success: true}}, Trade: {Dex: {ProgramAddress: {is: "675kPX9MHTjS2zt1qfr1NYHuzeLXfQM9H24wFSUt1Mp8"}}, 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