Websocket for remove Liquidity instruction on Solana Raydium DEX

Streams the latest instructions on Solana as they happen, where program address is CAMMCz…rWqK and program method is decreaseLiquidity or decrea…tyV2: block time, accounts address, is writable, token mint, token owner, program ID, ancestor indexes and 25 more fields.

By Akshat · saved 16 May 2024 · run 3 times · Bitquery API v2

What it returns

Filters

The subscription

subscription {
  Solana {
    Instructions(
      orderBy: {descending: Block_Time}
      where: {Instruction: {Program: {Address: {is: "CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK"}, Method: {in: ["decreaseLiquidity","decreaseLiquidityV2"]}}}}
    ) {
      Block {
        Time
      }
      Instruction {
        Accounts {
          Address
          IsWritable
          Token {
            Mint
            Owner
            ProgramId
          }
        }
        AncestorIndexes
        InternalSeqNumber
        Index
        ExternalSeqNumber
        Depth
        CallerIndex
        Data
        CallPath
        BalanceUpdatesCount
        Logs
        Program {
          AccountNames
          Address
          Arguments {
            Name
            Type
            Value {
              ... on Solana_ABI_Integer_Value_Arg {
                integer
              }
              ... on Solana_ABI_String_Value_Arg {
                string
              }
              ... on Solana_ABI_Address_Value_Arg {
                address
              }
              ... on Solana_ABI_BigInt_Value_Arg {
                bigInteger
              }
              ... on Solana_ABI_Bytes_Value_Arg {
                hex
              }
              ... on Solana_ABI_Boolean_Value_Arg {
                bool
              }
              ... on Solana_ABI_Float_Value_Arg {
                float
              }
              ... on Solana_ABI_Json_Value_Arg {
                json
              }
            }
          }
          Name
          Method
          Parsed
        }
      }
      Transaction {
        Signature
      }
    }
  }
}

Similar queries