sol_gonfi_v2_swaps

Returns the latest 100 DEX trades on Solana, where program address is goonud…RSLE and program method is swap: block time, buy amount, buy decimals, buy currency name, buy currency symbol, sell amount, sell decimals and 5 more fields.

By alex · saved 16 April 2026 · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  Solana {
    DEXTrades(
      limit: {count: 100}
      where: {Instruction: {Program: {
        Address: {is: "goonuddtQRrWqqn5nFyczVKaie28f3kDkHWkHtURSLE"}, 
        Method: {is: "swap"}}}}
      orderBy: {descending: Block_Time}
    ) {
      Block {
        Time
      }
      Trade {
        Buy {
          Amount
          Currency {
            Decimals
            Name
            Symbol
          }
        }
        Sell {
          Amount
          Currency {
            Decimals
            Name
            Symbol
          }
        }
      }
      Transaction {
        Signature
      }
      Instruction {
        Program {
          Name
          Method
        }
      }
    }
  }
}

Similar queries