Wallets
Fetch Users
From your backend, you can list all your users and fetch the details of any user within your in app or ecosystem wallet. This includes their address, email, phone number, and more.
Fetch details for a specific user by email, phone, wallet address, or user ID.
You can query by any of these user identifiers:
address
: The user's wallet address that thirdweb generatedemail
: The user's email addressphone
: The user's phone numberexternalWalletAddress
: The user's external wallet address (SIWE login)id
: The user's ID (for custom auth)
Required headers:
x-secret-key
: Your secret key for authenticationx-ecosystem-id
(optional): Your ecosystem IDx-ecosystem-partner-id
(optional): Your ecosystem partner ID
For ecosystem wallets, include the ecosystem headers in your requests.
If you're using the thirdweb SDK, you can use the getUser
method for easier integration: