merged using any

Streams instructions on Solana as they happen: block time, block date, block height, transaction signature, transaction fee, fee in USD, signer and 33 more fields.

By Divyasshree · saved 27 April 2025 · run 3 times · Bitquery API v2

What it returns

The subscription

subscription {
  Solana {
    Instructions(
      where: {
        any: [
          {
            Transaction: { Result: { Success: true } },
            Instruction: { 
              Program: { 
                Method: { is: "initializeUserWithNonce" }, 
                Address: { is: "675kPX9MHTjS2zt1qfr1NYHuzeLXfQM9H24wFSUt1Mp8" } 
              } 
            }
          },
          {
            Instruction: { 
              CallerIndex: { eq: 2 }, 
              Depth: { eq: 1 }, 
              CallPath: { includes: { eq: 2 } }, 
              Program: { 
                Method: { is: "create_pool" }, 
                Address: { is: "pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA" } 
              } 
            }
          }
        ]
      }
    ) {
      Block {
        Time
        Date
        Height
      }
      Transaction {
        Signature
        Fee
        FeeInUSD
        Signer
        FeePayer
        Result {
          Success
          ErrorMessage
        }
      }
      Instruction {
        AncestorIndexes
        CallerIndex
        Depth
        Data
        ExternalSeqNumber
        InternalSeqNumber
        Index
        Accounts {
          Address
          IsWritable
          Token {
            Mint
            Owner
            ProgramId
          }
        }
        CallPath
        Logs
        Program {
          Address
          Name
          Method
          AccountNames
          Json
          Arguments {
            Type
            Name
            Value {
              __typename
              ... 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
              }
            }
          }
        }
        BalanceUpdatesCount
        TokenBalanceUpdatesCount
      }
    }
  }
}

Similar queries