• Generates a wallet authentication JWT for the given API endpoint URL. Used for authenticating with specific endpoints that require wallet authentication.

    Parameters

    Returns Promise<string>

    The generated JWT (Bearer token) string

    If the Wallet Secret is not defined.

    If the private key is not in the correct format or signing fails.