Get User Info
The "Get User Info and Wallets" endpoint provides information about the authenticated user and their associated wallets. Use this endpoint to retrieve user details and wallet information.
Overview
Responses
Success (Code 200)
user
: User information.id
: User ID.email
: User's email address.username
: User's username.role
: User's role.
wallets
: Array of user wallets.id
: Wallet ID.address
: Wallet address.chain
: Blockchain chain (e.g., Ethereum).custodial
: Indicates whether the wallet is custodial (true/false).nonce
: Wallet nonce.user
: User ID associated with the wallet.
Media Type: application/json
Example Value: An object containing the all information about the user.
Unauthorized (Code 401)
Media Type: application/json
Example Value: An error response indicating unauthorized access.
Internal Server Error (Code 500)
Media Type: application/json
Example Value: An error response indicating an internal server error.
Usage
Send a GET request to the
/user
endpoint to retrieve user information and associated wallets.Handle the response accordingly based on success, unauthorized access or internal server error.
Note: Ensure the user is authenticated before making the request.
Last updated