LoginRequest: {
    address: EvmAddress;
    profileId?: ProfileId;
}

The details required to authenticate the session.

Type declaration

  • address: EvmAddress

    The user's wallet. Could be an EOA or EIP-1271 compliant Smart Wallet (e.g. ERC-6551).

    If a Profile ID is also provide the address MUST be the Profile Owner or a Profile Manager for it.

  • Optional profileId?: ProfileId

    The Profile ID to login with.

    If not provided the authenticated session will be of SessionType.JustWallet type. This has a limited set of features available. Namely, it can be used to claim a Profile handle (if eligible) and execute Open Actions on publications (e.g Collect Open Action).