#### URL Expired

The URL for this request expired after 30 days.

### Optional metadata when starting an operation.

| Field            | Type     | Description                                              |
| ---------------- | -------- | -------------------------------------------------------- |
| OperationID     | string   | Unique operation identifier.                             |
| InitiatorID     | string   | Initiator identifier.                                    |
| ChainName       | string   |                                                        |
| CAIP19          | string   |                                                        |
| Asset           | string   | required                                                |
| TestNetwork     | boolean  | truefalse                                              |
| MasterKeyName   | string   | required                                                |
| Account         | string   | required                                                |
| SubAddressData  | array of objects | required, length ≥ 1                             |

#### SubAddressData*

- **Asset**: string - Asset symbol for this consolidation row.
- **Amount**: string - Amount for this sub-address.
- **SubAddressIndex**: integer - Index of the sub-address within the account.

### ADD object

```http
# `` 200      Operation started
# `` 400      Invalid input, validation error, or malformed request
# `` 500      Internal server error. May include an `errorCode` (M-prefixed) and `data` from the MPA error code system. See `cwpapi/errors.go` for codes.
```

---

### Shell Examples

- **Base URL**: https://api.your-wallet.blockdaemon-wallet.com/api/cwp/operations/start/generateConsolidationData

```bash
curl --request POST \
     --url https://api.your-wallet.blockdaemon-wallet.com/api/cwp/operations/start/generateConsolidationData \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --data '{"SubAddressData": []}'
```

### Responses

- Example Response Codes: `200`, `400`, `500`

---
