gill
gill/programs/token/Type aliases

ParsedSetAuthorityInstruction

type ParsedSetAuthorityInstruction<TProgram, TAccountMetas> = {
  accounts: {
     owned: TAccountMetas[0];
     owner: TAccountMetas[1];
  };
  data: SetAuthorityInstructionData;
  programAddress: Address<TProgram>;
};

Type Parameters

Type ParameterDefault type
TProgram extends stringtypeof TOKEN_2022_PROGRAM_ADDRESS
TAccountMetas extends readonly IAccountMeta[]readonly IAccountMeta[]

Properties

accounts

accounts: {
  owned: TAccountMetas[0];
  owner: TAccountMetas[1];
};
NameTypeDescription
ownedTAccountMetas[0]The mint or account to change the authority of.
ownerTAccountMetas[1]The current authority or the multisignature account of the mint or account to update.

data

data: SetAuthorityInstructionData;

programAddress

programAddress: Address<TProgram>;

On this page