Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.startale.com/llms.txt

Use this file to discover all available pages before exploring further.

Returns lightweight profile information about the connected user. Useful for display purposes (greeting, avatar, identifying the auth provider).

Request

const info = await provider.request({
  method: 'wallet_getUserInfo',
})

Parameters

None.

Returns

{
  email?: string
  name?: string
  authType: 'google' | 'line' | 'apple' | 'metamask'
  userId: string
}

Errors

CodeCause
4100Wallet not connected

Privacy

email and name are populated only for auth methods that share them (Google, LINE, Apple). MetaMask connections return only authType and userId. Treat userId as a stable identifier for the user across sessions and devices, but do not display it, it is opaque.