gill
gill/programs/token/Type aliases

MintToInstruction

type MintToInstruction<TProgram, TAccountMint, TAccountToken, TAccountMintAuthority, TRemainingAccounts> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[TAccountMint extends string ? WritableAccount<TAccountMint> : TAccountMint, TAccountToken extends string ? WritableAccount<TAccountToken> : TAccountToken, TAccountMintAuthority extends string ? ReadonlyAccount<TAccountMintAuthority> : TAccountMintAuthority, ...TRemainingAccounts]>;

Type Parameters

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

On this page