Retrieving In-App Wallet User Details on the Server

You can query user details through the thirdweb SDK using a wallet address, email, phone number, or user ID. This function requires a secret key to be present on the thirdweb client and should only be used on the server.

import { getUser } from "thirdweb";
const user = await getUser({
client,
walletAddress: "0x123...",
});