gill
gill/programs/token/Type aliases

EmitTokenMetadataInstruction

type EmitTokenMetadataInstruction<TProgram, TAccountMetadata, TRemainingAccounts> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[TAccountMetadata extends string ? ReadonlyAccount<TAccountMetadata> : TAccountMetadata, ...TRemainingAccounts]>;

Type Parameters

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

On this page