Skip to content

getWalletUserInfo

Get wallet bot user information.

Request

GET /:token/getwalletuserinfo

POST /:token/getwalletuserinfo

This method supports both GET and POST requests.

Parameters

ParameterTypeRequiredDescription
user_idIntegerYesUnique 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

CodeDescription
400Bad request parameters, e.g. missing user_id
401Invalid or expired token
403Bot does not have permission to query this user's wallet information
404User not found or wallet not bound
500Internal server error