Ana içeriğe atla

Cekim Olustur

POST /api/v1/account/withdrawal
Herhangi bir TRON adresine TRX ceker. Ucret: 1 TRX.

Istek govdesi

to_address
string
gerekli
Hedef TRON adresi
amount_trx
string
gerekli
TRX cinsinden cekilecek miktar
totp_code
string
2FA kodu (2FA etkinse)

Ornek

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"
  }'
Response
{
  "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"
}

Cekimleri Listele

GET /api/v1/account/withdrawals
Cekim gecmisinizi dondurur.
curl https://api.tronrental.com/v1/account/withdrawals \
  -H "X-API-Key: your_api_key"
Response
[
  {
    "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"
  }
]

Cekim durumlari

DurumAciklama
pendingIsleme alinmak uzere siraya alindi
completedTRX gonderildi, tx_hash mevcut
failedBasarisiz oldu, tutar iade edildi