> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tronrental.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Restore Wallet

> Bring the archived packages of an address back to the main list

## Restore Wallet

Brings your account's archived packages on the address back to the main list. The packages themselves do not change.

### Request body

**address** `string` *required*

TRON address whose archived packages to bring back

### Response

**address** `string`

The address from the request.

**archived** `boolean`

Always `false`.

**packages** `number`

How many packages came back; `0` — none were in the archive.

### Example

```bash theme={null}
curl -X POST https://api.tronrental.com/v1/transfer-packages/restore \
  -H "X-API-Key: your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "address": "TYourAddress..."
  }'
```

```json Response theme={null}
{
  "address": "TYourAddress...",
  "archived": false,
  "packages": 3
}
```

### Errors

Returned in the [standard shape](https://docs.tronrental.com/errors.md), under `detail.error.code`. After any of them nothing has changed.

| Code | Status | When |
| - | - | - |
| `PACKAGE_NOT_FOUND` | `404` | Your account has no package on the address |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.