Get User Details

Retrieve detailed information about a user including their pricing configuration and order history.

Endpoint

id
string
required

The unique identifier of the user

GET https://tronspace.vip/api/public/user/{id}

Authentication

Not required

Response

id
string

Unique identifier of the user

name
string

User’s display name

status
enum

Current user status (ACTIVE, INACTIVE)

wallet
string

TRON wallet address

priceFor5Min
number

Price rate for 5 minute duration

priceFor15Min
number

Price rate for 15 minute duration

priceFor1H
number

Price rate for 1 hour duration

orders
array

List of user’s orders with transaction details

Example Response

{
  "json": {
    "id": "198dc9ba-39f8-479d-b156-cac11ca5cc8d",
    "name": "User",
    "status": "ACTIVE",
    "createdAt": "2025-01-16T10:37:53.293Z",
    "updatedAt": "2025-01-16T10:37:53.293Z",
    "wallet": "TAA9KiqKZSU2tUhqrPpYBHPprxnKVwnik5",
    "role": "USER",
    "priceFor5Min": 100,
    "priceFor15Min": 80,
    "priceFor1H": 60,
    "minResource": 60000,
    "orders": [
      {
        "id": "65b232ed-630e-4904-8f40-60671f1afe1b",
        "resourceType": "ENERGY",
        "resourceAmount": 60001,
        "resourceAmountSun": "5325147542",
        "duration": "FIVE_MIN",
        "status": "PAYMENT_FAILED",
        "payment": "6000100",
        "paymentDue": "2025-01-16T12:59:30.720Z",
        "targetAddress": ["TAA9KiqKZSU2tUhqrPpYBHPprxnKVwnik5"]
      }
    ]
  },
  "meta": {
    "values": {
      "createdAt": ["Date"],
      "updatedAt": ["Date"],
      "orders.0.resourceAmountSun": ["bigint"],
      "orders.0.payment": ["bigint"],
      "orders.0.paymentDue": ["Date"]
    }
  }
}