Query user wallet details
GET/user/detail
Query the details of the user sub-contract wallet by user ID or UUID.
Request
Query Parameters
User ID
userId
and UUID
must be passed at least one
User UUID
userId
and UUID
must be passed at least one
Chain ID
This is the platform internal ID, not the chain ID on the chain or from the wallet, can be obtained from Get Chain List interface
Responses
- 200
- 401
- 403
- 404
OK
- application/json
- Schema
- Example (from schema)
- Example
Schema
Array [
]
0
- Recharge type user, the wallet address is generated through the API interface (Create User Subcontract Wallet)1
- Payment type user, the wallet address is automatically generated by the system during the payment process
Status code
Status message on success or error message on failure
Detailed description when error
data
object
User object
User ID
User UUID
User creation time
userWallet
object[]
required
list of user sub-contract wallets
Chain ID
This is the platform internal ID, not the chain ID on the chain or from the wallet, can be obtained from Get Chain List interface
User sub-contract wallet ID
User sub-contract wallet address
Possible values: [0
, 1
]
User type:
{
"code": 0,
"msg": "string",
"description": "string",
"data": {
"userId": 0,
"uuid": "string",
"createTime": "2024-07-29T15:51:28.071Z",
"userWallet": [
{
"chainId": 0,
"walletId": 0,
"walletAddress": "string"
}
],
"userType": 0
}
}
{
"code": 200,
"msg": "success",
"data": {
"userId": 1054,
"createTime": "2024-03-28 11:43:05",
"userWallet": [
{
"walletId": 55875,
"chainId": 1,
"walletAddress": "TGJVB5aC6wvG7fgD7uyfYsPbEUKhV4vigC"
}
],
"userType": 1,
"uuid": "2313-5f08afe6ca854e4ebf79781f351d0cb7"
}
}
Unauthorized
Forbidden
Not Found