Login / Logout

Logged in​

Description​

Checks that the user is currently logged in to their wallet

Return type​

Promise<boolean>

Usage Example​

const loggedIn = await sdk.wallet.loggedIn()

Log in​

Description​

Allows the user to log in to their wallet.

Return type​

Promise<void>

Log out​

Description​

Logs out the user from their wallet. The user will stay logged in on other devices. If the user did not create a recovery kit or save the wallet's recovery phrase, the wallet and its content will be lost.

Return type​

Promise<string>

Usage Example​

await sdk.wallet.logout()

Last updated