FIlter authorirty

Streams instructions on Solana as they happen, where program method is setAuthority: method, arguments name, integer, string, value address, json, float and 5 more fields.

By Aleksey · saved 14 October 2025 · run 3 times · Bitquery API v2

What it returns

Filters

The subscription

subscription {
  Solana(network: solana) {
    Instructions(
      where: {
        Instruction: {
        	Program: {
            Method: {is: "setAuthority"}
						Arguments: {
              includes: {
                Name: {is: "authorityType"}
                Value: {Json: {
                  in: ["0","1"]
                }}
              }
            }
          }
        }
        
        Transaction: {Result: {Success: true}}}
    ) {
      Instruction {
        Program {
          Method
          Arguments {
            Name
            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_Json_Value_Arg {
                json
              }
              ... on Solana_ABI_Float_Value_Arg {
                float
              }
              ... on Solana_ABI_Boolean_Value_Arg {
                bool
              }
              ... on Solana_ABI_Bytes_Value_Arg {
                hex
              }
              ... on Solana_ABI_BigInt_Value_Arg {
                bigInteger
              }
            }
          }
        }
        Accounts {
          Address
        }
      }
      Transaction {
        Signature
      }
    }
  }
}

Similar queries