gill
gill/programs/token/Type aliases

SetAuthorityInstruction

type SetAuthorityInstruction<TProgram, TAccountOwned, TAccountOwner, TRemainingAccounts> = IInstruction<TProgram> & IInstructionWithData<Uint8Array> & IInstructionWithAccounts<[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 | IAccountMeta<string>string
TAccountOwner extends string | IAccountMeta<string>string
TRemainingAccounts extends readonly IAccountMeta<string>[][]

On this page