gill
gill/programs/token/Type aliases

CreateNativeMintInstruction

type CreateNativeMintInstruction<TProgram, TAccountPayer, TAccountNativeMint, TAccountSystemProgram, TRemainingAccounts> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[TAccountPayer extends string ? WritableSignerAccount<TAccountPayer> & AccountSignerMeta<TAccountPayer> : TAccountPayer, TAccountNativeMint extends string ? WritableAccount<TAccountNativeMint> : TAccountNativeMint, TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram, ...TRemainingAccounts]>;

Type Parameters

Type ParameterDefault type
TProgram extends stringtypeof TOKEN_2022_PROGRAM_ADDRESS
TAccountPayer extends string | AccountMeta<string>string
TAccountNativeMint extends string | AccountMeta<string>string
TAccountSystemProgram extends string | AccountMeta<string>"11111111111111111111111111111111"
TRemainingAccounts extends readonly AccountMeta<string>[][]

On this page