Skip to main content
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.