gill
gill/programs/token/Type aliases

InitializeAccount2Input

type InitializeAccount2Input<TAccountAccount, TAccountMint, TAccountRent> = {
  account: Address<TAccountAccount>;
  mint: Address<TAccountMint>;
  owner: InitializeAccount2InstructionDataArgs["owner"];
  rent?: Address<TAccountRent>;
};

Type Parameters

Type ParameterDefault type
TAccountAccount extends stringstring
TAccountMint extends stringstring
TAccountRent extends stringstring

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.

On this page