Function createStakeAccount
- createStakeAccount(program: AtlasStakingIDLProgram, user: PublicKey, updateAuthority: AsyncSigner<unknown>, stakeMint: PublicKey, rewardMint: PublicKey): InstructionReturn
-
Parameters
-
-
user: PublicKey
-
updateAuthority: AsyncSigner<unknown>
-
stakeMint: PublicKey
-
rewardMint: PublicKey
Returns InstructionReturn
Creates a new staking account for the given user.
Returns
InstructionReturn