Vault Curators

private/update_vault_info

Changed on

Applies an off-chain patch to a vault the caller curates, updating any of its display name, description, advisory mark-to-market cap (a USD decimal), or whitelist-only flag. Only the fields supplied are changed. The caller must own the vault's subaccount (i.e. be its curator); description length is capped.

post/private/update_vault_info

Request

  • Base URL
    https://api.derive.xyz/v3
  • Auth
    API key in header X-DeriveWallet and API key in header X-DeriveTimestamp and API key in header X-DeriveSignature

Request body

UpdateVaultInfoRequest required
description, string nullable
mtm_cap, string decimal nullable

Advisory mark-to-market cap in USD, as a decimal string (e.g. "1000"). Send null to remove the cap; omit the field to leave it unchanged.

name, string nullable
subaccount_id, integer required

The vault's subaccount ID; the caller must be the vault's curator.

whitelist_only, boolean nullable

Response

Success

OffchainAckResponse required

A generic { "status": "ok" } acknowledgement returned by fire-and-forget operations that have no data to return (e.g. updating account settings, MMP config, or the active currency).

status, string required

Changes

    • info

      the endpoint scheme security DeriveWallet AND DeriveTimestamp AND DeriveSignature was added to the API

    • info

      added the media type application/json for the response with the status