Table of contents
Methods
constructor
• new UserClient(client): UserClient
Parameters
Returns
UserClient
Methods
create
▸ create(params): Promise<CreateUserResponse>
Creates a new user or returns existing user information
Parameters
Returns
Promise<CreateUserResponse>
User creation response with user details
getByWalletAddress
▸ getByWalletAddress(walletAddress): Promise<User>
Gets a user by their wallet address
Parameters
Returns
Promise<User>
User information if found
getCurrentUser
▸ getCurrentUser():Promise<User>
Gets the current user based on the wallet address used to initialize the SDK
Returns
Promise<User>
User information for the current wallet address
