gill

getInitializeAccount2Instruction

function getInitializeAccount2Instruction<TAccountAccount, TAccountMint, TAccountRent, TProgramAddress>(input, config?): InitializeAccount2Instruction<TProgramAddress, TAccountAccount, TAccountMint, TAccountRent>;

Type Parameters

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

Parameters

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

Returns

InitializeAccount2Instruction<TProgramAddress, TAccountAccount, TAccountMint, TAccountRent>

On this page