Skip to Content
Anuma SDKClientInternalFunctionsgetApiV1Me

getApiV1Me

getApiV1Me<ThrowOnError>(options?: Options<GetApiV1MeData, ThrowOnError>): RequestResult<GetApiV1MeResponses, GetApiV1MeErrors, ThrowOnError>

Defined in: src/client/sdk.gen.ts:1188 

Return the caller’s identity and granted scopes

Returns user_address, client_id, and scopes for the request’s authenticated principal. The auth middleware injects a GrantContext on both Privy and OAuth bearer paths; this handler just reads it out.

Type Parameters

Type ParameterDefault type

ThrowOnError extends boolean

false

Parameters

ParameterType

options?

Options<GetApiV1MeData, ThrowOnError>

Returns

RequestResult<GetApiV1MeResponses, GetApiV1MeErrors, ThrowOnError>

Last updated on