#### 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  |
| Asset        | string  | required |
| TestNetwork  | boolean | true/false |
| Source       | object  | required  |

Identifies an on-chain address in transaction intents and related APIs. Either set both `MasterKeyName` and `AccountName` (with optional `AddressIndex` where the API allows it; index `0` is the main address when deriving), or set `Address` to a literal address string. Setting only one of `MasterKeyName` or `AccountName` is invalid. For [`POST /solana/accountInfo`](https://vault.docs.blockdaemon.com/reference/cwpstartcantonpreapproval-1#/paths/~1solana~1accountInfo/post), when not sending `Address`, `AddressIndex` is required alongside master key and account.

### Source object

```plaintext
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.
```

Updated 3 months ago

---

ShellNodeRubyPHPPython

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

```bash
xxxxxxxxxx

curl --request POST \  
     --url https://api.your-wallet.blockdaemon-wallet.com/api/cwp/operations/start/cantonPreapproval \  
     --header 'accept: application/json' \  
     --header 'content-type: application/json'
```

Click `Try It!` to start a request and see the response here! Or choose an example:

**Response Codes**  
```plaintext
200
400
500
```

Updated 3 months ago
