gill
gill/programs/system/Type aliases

CreateAccountWithSeedInput

type CreateAccountWithSeedInput<TAccountPayer, TAccountNewAccount, TAccountBaseAccount> = {
  amount: CreateAccountWithSeedInstructionDataArgs["amount"];
  base: CreateAccountWithSeedInstructionDataArgs["base"];
  baseAccount: TransactionSigner<TAccountBaseAccount>;
  newAccount: Address<TAccountNewAccount>;
  payer: TransactionSigner<TAccountPayer>;
  programAddress: CreateAccountWithSeedInstructionDataArgs["programAddress"];
  seed: CreateAccountWithSeedInstructionDataArgs["seed"];
  space: CreateAccountWithSeedInstructionDataArgs["space"];
};

Type Parameters

Type ParameterDefault type
TAccountPayer extends stringstring
TAccountNewAccount extends stringstring
TAccountBaseAccount extends stringstring

Properties

amount

amount: CreateAccountWithSeedInstructionDataArgs["amount"];

base

base: CreateAccountWithSeedInstructionDataArgs["base"];

baseAccount

baseAccount: TransactionSigner<TAccountBaseAccount>;

newAccount

newAccount: Address<TAccountNewAccount>;

payer

payer: TransactionSigner<TAccountPayer>;

programAddress

programAddress: CreateAccountWithSeedInstructionDataArgs["programAddress"];

seed

seed: CreateAccountWithSeedInstructionDataArgs["seed"];

space

space: CreateAccountWithSeedInstructionDataArgs["space"];

On this page