Function getRewardAuth

  • Returns the public key and bump seed for a registered stake's reward vault authority

    Parameters

    • programId: PublicKey
    • registeredStake: PublicKey

    Returns [PublicKey, number]