path

Returns DEX trades on Solana, where buy currency mint address is not 111111…1111, DEX protocol name is pump and block time since 2025-01-04, sorted by trade buy price, highest first: buy price, buy price in USD, buy currency name, buy currency symbol, buy currency mint address, buy decimals, buy fungible and buy URI.

By yonatan badash · saved 4 January 2025 · Bitquery API v2

What it returns

Filters

The query

{
  Solana {
    DEXTrades(
      limitBy: { by: Trade_Buy_Currency_MintAddress, count: 1 }
      orderBy: { descending: Trade_Buy_Price }
      where: {
        Block: { Time: { since: "2025-01-04T00:00:00Z" } } # Replace with calculated timestamp
        Trade: {
          Dex: { ProtocolName: { is: "pump" } }
          Buy: {
            Currency: {
              MintAddress: { notIn: ["11111111111111111111111111111111"] }
            }
          }
        }
        Transaction: { Result: { Success: true } }
      }
    ) {
      Trade {
        Buy {
          Price
          PriceInUSD
          Currency {
            Name
            Symbol
            MintAddress
            Decimals
            Fungible
            Uri
          }
        }
      }
    }
  }
}


Similar queries