gill

getInitializeAccountInstruction

function getInitializeAccountInstruction<TAccountAccount, TAccountMint, TAccountOwner, TAccountRent, TProgramAddress>(input, config?): InitializeAccountInstruction<TProgramAddress, TAccountAccount, TAccountMint, TAccountOwner, TAccountRent>;

Type Parameters

Type ParameterDefault type
TAccountAccount extends string-
TAccountMint extends string-
TAccountOwner extends string-
TAccountRent extends string-
TProgramAddress extends AddressAddress<"TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb">

Parameters

ParameterType
inputInitializeAccountInput<TAccountAccount, TAccountMint, TAccountOwner, TAccountRent>
config?{ programAddress?: TProgramAddress; }
config.programAddress?TProgramAddress

Returns

InitializeAccountInstruction<TProgramAddress, TAccountAccount, TAccountMint, TAccountOwner, TAccountRent>

On this page