getWalletUserInfo
Get wallet bot user information.
Request
GET /:token/getwalletuserinfo
POST /:token/getwalletuserinfo
This method supports both GET and POST requests.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| user_id | Integer | Yes | Unique identifier of the target user |
Response
Returns the user's wallet information object.
json
{
"ok": true,
"result": {
"user_id": 123456789,
"wallet_address": "0x1234567890abcdef1234567890abcdef12345678",
"balance": "100.50",
"currency": "USDT",
"is_bound": true
}
}Error Codes
| Code | Description |
|---|---|
| 400 | Bad request parameters, e.g. missing user_id |
| 401 | Invalid or expired token |
| 403 | Bot does not have permission to query this user's wallet information |
| 404 | User not found or wallet not bound |
| 500 | Internal server error |
