The API endpoint for authentication.
The API token for authentication.
Optional
timeout?: numberoptional timeout for the requests
A promise that resolves to the peer ID associated with the alias.
An error that occurred while processing the request.
Get the PeerId (Hopr address) that have this alias assigned to it.