Skip to content

whoami

Retrieves the current user or fetches the user information if not already available.

Import

import { BaseSignerClient } from "@account-kit/signer";

Parameters

orgId

string optional organization ID, defaults to the user's organization ID

Returns

Promise<User> A promise that resolves to the user object