gill
gill/programs/token/Type aliases

UpdateTokenMetadataUpdateAuthorityInstruction

type UpdateTokenMetadataUpdateAuthorityInstruction<TProgram, TAccountMetadata, TAccountUpdateAuthority, TRemainingAccounts> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[TAccountMetadata extends string ? WritableAccount<TAccountMetadata> : TAccountMetadata, TAccountUpdateAuthority extends string ? ReadonlySignerAccount<TAccountUpdateAuthority> & AccountSignerMeta<TAccountUpdateAuthority> : TAccountUpdateAuthority, ...TRemainingAccounts]>;

Type Parameters

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

On this page