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

# AddWatchAddress

> Register a TRON address for monitoring.

Registers a TRON address for monitoring - see the [TRON Watch Address overview](/api-reference/sweep/tron-watch-address) for webhooks and push rules.

Re-adding the same address with the same API token is idempotent, so it is safe to retry.

## Errors

All errors return a JSON object with `code`, `error`, and `reason` fields:

```json theme={null}
{
  "code": 400,
  "error": "Bad Request",
  "reason": "address invalid"
}
```

| Reason                                 | Description                                     |
| -------------------------------------- | ----------------------------------------------- |
| `network unsupported`                  | `network` is missing or not supported           |
| `address required` / `address invalid` | Address is missing or not a valid TRON address  |
| `unauthenticated`                      | `x-mtoken` is missing or invalid                |
| `webhook not configured`               | The API token has no webhook URL configured yet |
| `IP is not allowed`                    | The request IP is not in the allowlist          |
| `internal server error`                | Server-side error                               |


## OpenAPI

````yaml openapi.json POST /v1/sweep/addWatchAddress
openapi: 3.1.0
info:
  title: mpcvault.platform.v1
  version: 0.0.1
servers:
  - url: https://api.mpcvault.com
    description: MPCVault API Server
security:
  - ApiKeyAuth: []
tags:
  - name: mpcvault.platform.v1.PlatformAPI
  - name: mpcvault.sweep.v1.SweepAPI
    description: >-
      Deposit address creation and TRON watch address registration for the Sweep
      product.
paths:
  /v1/sweep/addWatchAddress:
    post:
      tags:
        - mpcvault.sweep.v1.SweepAPI
      summary: AddWatchAddress
      description: >-
        Registers a TRON address for monitoring. No wallet is created, MPCVault
        holds no keys, and no assets are moved. Re-adding the same address with
        the same API token is idempotent.
      operationId: mpcvault.sweep.v1.SweepAPI.AddWatchAddress
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/mpcvault.sweep.v1.AddWatchAddressRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/mpcvault.sweep.v1.AddWatchAddressResponse'
components:
  schemas:
    mpcvault.sweep.v1.AddWatchAddressRequest:
      type: object
      required:
        - network
        - address
      properties:
        network:
          type: string
          description: Currently supports `TRON`, case-insensitive.
          example: TRON
        address:
          type: string
          description: TRON address to watch. Validated and normalized to checksum form.
          example: TSvcVista6bxr7WFmDMWKLzTBnF4N34u9v
    mpcvault.sweep.v1.AddWatchAddressResponse:
      type: object
      properties:
        uuid:
          type: string
          description: Identifies the watch record.
          example: 8f14e45f-ceea-4e70-bd0f-9c6f23b2a1d0
        address:
          type: string
          description: The registered address in checksum form.
          example: TSvcVista6bxr7WFmDMWKLzTBnF4N34u9v
        network:
          type: string
          example: TRON
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-mtoken
      description: Your API token. Required for all API requests.

````