Vaults

Get vaults config

Get vaults global configuration.

get/vaults/config

Response

OK

max_lockup_period_daysstring

Maximum lockup period in days an owner can configure for a vault

max_profit_share_percentagestring

Maximum profit share percentage (0-100) an owner can configure for a vault

min_initial_depositstring

Minimum initial collateral deposit (in currency units) at vault creation. Only applies to the owner

min_lockup_period_daysstring

Minimum lockup period in days an owner can configure for a vault

min_owner_share_percentagestring

Minimum share percentage (0-100) the vault owner must maintain on the vault

vault_factory_addressstring

Address of the vault factory contract

Example response

{
  "max_lockup_period_days": "4",
  "max_profit_share_percentage": "50",
  "min_initial_deposit": "1000",
  "min_lockup_period_days": "1",
  "min_owner_share_percentage": "5",
  "vault_factory_address": "0x1234567890abcdef"
}

Changes

Changed in 1 of the 50 revisions of this API.2

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

      response-media-type-added

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

      response-media-type-added

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog