gill
gill/programs/system/Type aliases

CreateAccountInput

type CreateAccountInput<TAccountPayer, TAccountNewAccount> = {
  lamports: CreateAccountInstructionDataArgs["lamports"];
  newAccount: TransactionSigner<TAccountNewAccount>;
  payer: TransactionSigner<TAccountPayer>;
  programAddress: CreateAccountInstructionDataArgs["programAddress"];
  space: CreateAccountInstructionDataArgs["space"];
};

Type Parameters

Type ParameterDefault type
TAccountPayer extends stringstring
TAccountNewAccount extends stringstring

Properties

lamports

lamports: CreateAccountInstructionDataArgs["lamports"];

newAccount

newAccount: TransactionSigner<TAccountNewAccount>;

payer

payer: TransactionSigner<TAccountPayer>;

programAddress

programAddress: CreateAccountInstructionDataArgs["programAddress"];

space

space: CreateAccountInstructionDataArgs["space"];

On this page