Websocket for add Liquidity instruction on Solana Orca DEX

Streams the latest instruction on Solana as they happen, where program address is whirLb…tyCc and program method is increaseLiquidity: block time, accounts address, is writable, token mint, token owner, program ID, ancestor indexes and 25 more fields.

By Akshat · saved 16 May 2024 · Bitquery API v2

What it returns

Filters

The subscription

subscription {
  Solana {
    Instructions(
      limit: {count: 1}
      orderBy: {descending: Block_Time}
      where: {Instruction: {Program: {Address: {is: "whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc"}, Method: {is: "increaseLiquidity"}}}}
    ) {
      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