Function getTokenEscrow

  • Returns the public key and bump seed for a user's token escrow

    Parameters

    • programId: PublicKey
    • user: PublicKey
    • registeredStake: PublicKey

    Returns [PublicKey, number]