Vault Curators

private/create_vault

Changed on

Registers a new vault on-chain from a signed action; the signing wallet becomes the vault's curator and seeds the initial deposit from its funding subaccount. Inputs set the deposit asset, initial deposit amount, initial share price, management/performance fee rates (in basis points), max slippage, redemption cooldown, an optional benchmark asset for the high-water mark, and the max sequencer fee authorized. Requires the vault curator-create permission.

post/private/create_vault

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

CreateVaultRequest required

Fields common to every signed vault action. They appear alongside each endpoint's action-specific parameters in the same request object.

benchmark_asset, string nullable

20-byte Ethereum address as a 0x-prefixed lowercase hex string.

cooldown_sec, integer required
deposit_spot_asset, string required

20-byte Ethereum address as a 0x-prefixed lowercase hex string.

initial_deposit, string decimal required

Initial deposit in the vault's deposit asset, as a USD decimal string (e.g. "15000").

initial_share_price_usd, string decimal required

Initial share price the vault is seeded at, in USD, as a decimal string (e.g. "1" or "100"). Must lie within the protocol's permitted range.

management_fee_bps, integer required
manager_id, integer required
max_fee_usd, string decimal required

Maximum sequencer fee the signer authorises, in USD, as a decimal string (e.g. "1.5").

max_slippage_bps, integer required
nonce, string required
performance_fee_bps, integer required
signature, string required

0x-prefixed hex of the 65-byte EOA signature.

signature_expiry_sec, integer required
signer, string required

20-byte Ethereum address as a 0x-prefixed lowercase hex string.

subaccount_id, integer required

The subaccount the action is signed on; which subaccount applies depends on the specific method — see that method's reference.

Response

Success

VaultCreateResponse required

Returned by create_vault: identifiers to track the on-chain CreateVault operation.

op_uuid, string required
operation_id, integer 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