gill
gill/programs/token/Type aliases

CreateNativeMintInstruction

type CreateNativeMintInstruction<TProgram, TAccountPayer, TAccountNativeMint, TAccountSystemProgram, TRemainingAccounts> = IInstruction<TProgram> & IInstructionWithData<Uint8Array> & IInstructionWithAccounts<[TAccountPayer extends string ? WritableSignerAccount<TAccountPayer> & IAccountSignerMeta<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 | IAccountMeta<string>string
TAccountNativeMint extends string | IAccountMeta<string>string
TAccountSystemProgram extends string | IAccountMeta<string>"11111111111111111111111111111111"
TRemainingAccounts extends readonly IAccountMeta<string>[][]

On this page