believe protocol trades

Returns 100 DEX trades on Solana: protocol name, sell currency symbol, buy currency symbol, transaction signature, external seq number, internal seq number and program address.

By Aleksey · saved 19 May 2025 · run 2 times · Bitquery API v2

What it returns

The query

{
  Solana {
    DEXTrades(limit: {count: 100}) {
      Trade {
        Dex {
          ProtocolName
        }
        Sell {
          Currency {
            Symbol
          }
        }
        Buy {
          Currency {
            Symbol
          }
        }
      }
      Transaction {
        Signature
      }
      Instruction {
        ExternalSeqNumber
        InternalSeqNumber
      }
      joinInstructions(
        join: inner
        Block_Slot: Block_Slot
        Transaction_Signature: Transaction_Signature
        Instruction_Index: Instruction_Index
        where: {Instruction: {Program: {Address: {is: "dbcij3LWUppWqq96dh6gJWwBifmcGfLSB5D4DuSMaqN"}}}}
      ) {
        Instruction {
          Program {
            Address
          }
        }
        Transaction {
          Signature
        }
      }
    }
  }
}

Similar queries