gill
gill/programs/token/Type aliases

EmitTokenMetadataInstruction

type EmitTokenMetadataInstruction<TProgram, TAccountMetadata, TRemainingAccounts> = IInstruction<TProgram> & IInstructionWithData<Uint8Array> & IInstructionWithAccounts<[TAccountMetadata extends string ? ReadonlyAccount<TAccountMetadata> : TAccountMetadata, ...TRemainingAccounts]>;

Type Parameters

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

On this page