Solana dextrades

Returns DEX trades on Solana, where DEX program address is 6EF8rr…wF6P or LanMV9…J3uj: block time, slot, transaction signature, signer, buy amount, buy currency mint address, buy price and 7 more fields.

By Michael x · saved 16 July 2025 · run 5 times · Bitquery API v2

What it returns

Filters

The query

query {
  Solana(network: solana) {
    DEXTrades(
      where: {Transaction: {Result: {Success: true}, Signature: {like: "5PLaYjpNNWZXiZeNW7qurZqV42i1Ga5dxxmCDtjSGWwV89865mypubV11Abj43pJY16EC4JuD7tJEcEkF26odzd4"}}, Trade: {Dex: {ProgramAddress: {in: ["6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P", "LanMV9sAd7wArD4vJFi2qDdfnVhFxYSUg6eADduJ3uj"]}}}}
      limitBy: {by: Block_Slot, count: 100000}
    ) {
      Block {
        Time
        Slot
      }
      Transaction {
        Signature
        Signer
      }
      Trade {
        Buy {
          Amount
          Currency {
            MintAddress
          }
          Price
          PriceInUSD
        }
        Sell {
          Amount
          Currency {
            MintAddress
          }
          Price
          PriceInUSD
        }
      }
      Instruction {
        Accounts {
          Address
        }
        Program {
          Address
        }
      }
    }
  }
}

Similar queries