• Settles a user's staking account and updates the current staking period on the account

    Returns

    InstructionReturn

    Parameters

    • program: AtlasStakingIDLProgram

      Staking IDL program

    • authority: AsyncSigner<unknown>

      Authority for the registered stake account

    • registeredStake: PublicKey

      Registered stake account

    • stakingAccount: PublicKey

      Staking account to settle

    • updatedStakingPeriod: number

      New staking period

    Returns InstructionReturn

Generated using TypeDoc