Add a token or native asset to a vault's asset tracking list. Once added, the asset can be queried for balance and displayed.
| Parameter | Type | Required | Description |
|---|---|---|---|
id | UUID | Yes | Vault identifier |
| Field | Type | Required | Description |
|---|---|---|---|
networkId | string | Yes | Network ID |
type | string | Yes | Asset type: cryptocurrency or token |
tokenAddress | string | No | Token contract address (required for tokens) |
amount | number | No | Initial amount (default 0) |
vaults:update or assets:create
Add a token or native asset to a vault's asset tracking list. Once added, the asset can be queried for balance and displayed.
| Parameter | Type | Required | Description |
|---|---|---|---|
id | UUID | Yes | Vault identifier |
| Field | Type | Required | Description |
|---|---|---|---|
networkId | string | Yes | Network ID |
type | string | Yes | Asset type: cryptocurrency or token |
tokenAddress | string | No | Token contract address (required for tokens) |
amount | number | No | Initial amount (default 0) |
vaults:update or assets:create