open_vault
Opens a vault (CDP) for a specified collateral type. If a vault already exists, returns the existing CDP ID without submitting a transaction.
Instructions
Open a vault/CDP via DSProxy. Idempotent: if a vault for the given ilk already exists, returns the existing CDP id without submitting a transaction.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ilk | Yes | Collateral type like TRX-A, WBTC-A, or SA001-A | |
| network | No | Target network. Default: tron |