> ## 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.

# wallet_getUserInfo

> Fetch profile information about the connected user, display name, auth method, user ID.

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

## Request

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

## Parameters

None.

## Returns

```ts theme={null}
{
  email?: string
  name?: string
  authType: 'google' | 'line' | 'apple' | 'metamask'
  userId: string
}
```

## Errors

| Code   | Cause                |
| ------ | -------------------- |
| `4100` | Wallet 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.
