Создать вывод
POST /api/v1/account/withdrawal
Выводит TRX на любой адрес TRON. Комиссия: 1 TRX.
Тело запроса
Код 2FA (если 2FA включена)
Пример
curl -X POST https://api.tronrental.com/v1/account/withdrawal \
-H "X-API-Key: your_api_key" \
-H "Content-Type: application/json" \
-d '{
"to_address": "TDestinationAddress...",
"amount_trx": "100"
}'
{
"id": 56,
"to_address": "TDestinationAddress...",
"amount_trx": "100.00",
"fee_trx": "1.00",
"status": "completed",
"tx_hash": "a1b2c3d4e5f6...",
"created_at": "2026-03-05T12:00:00Z"
}
Список выводов
GET /api/v1/account/withdrawals
Возвращает историю ваших выводов.
curl https://api.tronrental.com/v1/account/withdrawals \
-H "X-API-Key: your_api_key"
[
{
"id": 56,
"to_address": "TDestinationAddress...",
"amount_trx": "100.00",
"fee_trx": "1.00",
"status": "completed",
"tx_hash": "a1b2c3d4e5f6...",
"created_at": "2026-03-05T12:00:00Z"
}
]
Статусы выводов
| Статус | Описание |
|---|
pending | В очереди на обработку |
completed | TRX отправлены, tx_hash доступен |
failed | Ошибка, сумма возвращена |