exact-sol-in-bug-query

Returns 200000 DEX trades on Solana, where transaction signature is 4j5aLL…1tb6, sorted by block slot: buy amount, buy account address, buy account owner, buy currency name, buy currency symbol, buy currency mint address, buy decimals and 16 more fields.

By Tomas Krason · saved 2 June 2026 · run 20 times · Bitquery API v2

What it returns

Filters

The query

query SolanaStreamQuery {
    Solana {
        DEXTrades(
            where: {
                any: [
                    {
                        Instruction: {
                            Program: {
                                Method: {in: ["buy", "sell", "buy_v2", "buy_exact_sol_in", "buy_exact_quote_in_v2", "sell_v2"]},
                                Name: {is: "pump"}
                            }
                        },
                        Transaction: {Result: {Success: true}}
                    }
                ]
              	Transaction: {Signature: {is: "4j5aLL4bFH9Fd4J7ukKfR71dNZmp4TB1r4Fvc5B7x9TXzMBwodtixAsC4o2XSj8g6fJL9XCM4ejgqmhB3A7K1tb6"}}
            }
            orderBy: {ascending: Block_Slot}
            limit: { count: 200000 }
        ) {
            Trade {
                Buy {
                    Amount
                    Account {
                        Address
                        Owner
                    }
                    Currency {
                        Name
                        Symbol
                        MintAddress
                        Decimals
                        Fungible
                        ProgramAddress
                    }
                    PriceInUSD
                }
                Sell {
                    Amount
                    Account {
                        Owner
                    }
                    Currency {
                        Name
                        Symbol
                        MintAddress
                        Decimals
                        Fungible
                        Uri
                    }
                    PriceInUSD
                }
            }
            Transaction {
                Signature
                Index
            }
            Block {
                Slot
                Time
            }
        }
    }
}

Variables

{
  "blockSlotMin": "423802957",
  "blockSlotMax": "423802957"
}

Similar queries