gill
gill/programs/token/Type aliases

SetAuthorityInstruction

type SetAuthorityInstruction<TProgram, TAccountOwned, TAccountOwner, TRemainingAccounts> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[TAccountOwned extends string ? WritableAccount<TAccountOwned> : TAccountOwned, TAccountOwner extends string ? ReadonlyAccount<TAccountOwner> : TAccountOwner, ...TRemainingAccounts]>;

Type Parameters

Type ParameterDefault type
TProgram extends stringtypeof TOKEN_2022_PROGRAM_ADDRESS
TAccountOwned extends string | AccountMeta<string>string
TAccountOwner extends string | AccountMeta<string>string
TRemainingAccounts extends readonly AccountMeta<string>[][]

On this page