InitializeAccount2Input
type InitializeAccount2Input<TAccountAccount, TAccountMint, TAccountRent> = {
account: Address<TAccountAccount>;
mint: Address<TAccountMint>;
owner: InitializeAccount2InstructionDataArgs["owner"];
rent?: Address<TAccountRent>;
};Type Parameters
| Type Parameter | Default type |
|---|---|
TAccountAccount extends string | string |
TAccountMint extends string | string |
TAccountRent extends string | string |
Properties
account
account: Address<TAccountAccount>;The account to initialize.
mint
mint: Address<TAccountMint>;The mint this account will be associated with.
owner
owner: InitializeAccount2InstructionDataArgs["owner"];rent?
optional rent: Address<TAccountRent>;Rent sysvar.