Skip to main content
POST
Archive Wallet

Archive Wallet

Moves your account’s closed packages on the address into the archive: the dashboard shows them under Archive instead of the main list. Closed are completed, expired, cancelled and failed_refunded; a package that is active, paused, awaiting payment or activation stays in the main list. Nothing else changes: the packages, their history and charges stay as they are, and List Packages still returns them, with archived_at set. A package you buy later on the address is in the main list. Bring the wallet back with Restore Wallet.

Request body

string
required
TRON address whose closed packages to archive

Response

string
The address from the request.
boolean
Always true.
number
How many packages went into the archive now; 0 — nothing to archive (no closed package, or all already archived).

Example

Response

Errors

Returned in the standard shape, under detail.error.code. After any of them nothing has changed.