Query sub-contract wallet list
GET/user/list
Query the list of user sub-contract wallets created by the merchant using pagination.
Request
Query Parameters
-
0
- Recharge users, wallet addresses are generated through the API interface (Create user sub-contract wallet). -
1
- Payment users, wallet addresses are automatically generated by the system during the payment process.
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 UUID
User ID
Possible values: >= 1
and <= 1000000
Default value: 1
Page number
Possible values: <= 500
Default value: 10
Number of records per page
Possible values: [0
, 1
]
User type
Responses
- 200
- 401
- 403
- 404
OK
- application/json
- Schema
- Example (from schema)
- Example
Schema
Array [
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
Page result object
Total number of records that meet the conditions
Current page number
Number of records per page
list
object[]
required
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": {
"count": 0,
"page": 0,
"size": 0,
"list": [
{
"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": {
"page": 1,
"size": 2,
"count": 7,
"list": [
{
"userId": 1054,
"createTime": "2024-03-28 11:43:05",
"userWallet": [
{
"walletId": 55875,
"chainId": 1,
"walletAddress": "TGJVB5aC6wvG7fgD7uyfYsPbEUKhV4vigC"
}
],
"userType": 1,
"uuid": "2313-5f08afe6ca854e4ebf79781f351d0cb7"
},
{
"userId": 1017,
"createTime": "2024-03-09 01:20:31",
"userWallet": [
{
"walletId": 55846,
"chainId": 1,
"walletAddress": "TRj5wVppu4T1yYitudfUGSFwUTcVgJeXb3"
}
],
"userType": 1,
"uuid": "2313-b49c0a05e3fd40c6b87cd8e795ad3703"
}
]
}
}
Unauthorized
Forbidden
Not Found