Create vault
Create a new vault by providing deployment parameters.Current user will be set as owner of the account and a new sub-account will be deployed as vault operator.
Headers
PARADEX-PARENT-ACCOUNT
Onboarded by prdx:0xa123456789
PARADEX-STARKNET-SIGNATURE
Starknet signature
PARADEX-STARKNET-ACCOUNT
Starknet address
PARADEX-STARKNET-ACCOUNT-DERIVATION-PATH
Account derivation path - m/44’/9004’/0’/0/1
Request
Vault parameters
deposit_tx_signature
Initial deposit transfer by vault owner
description
Description for the vault
lockup_period
User's deposits lockup period in days
max_tvl
Max TVL locked by the Vault, if any. 0 for unlimited
name
Unique name for the vault
public_key
Public key of vault operator
Response
Created
address
Contract address of the vault
created_at
Unix timestamp in milliseconds of when the vault has been created
description
Description of the vault
kind
Kind of the vault: ‘user’ for user-defined vaults, ‘protocol’ for vaults controlled by Paradex
Allowed values:
last_updated_at
Unix timestamp in milliseconds of when the vault was last updated
lockup_period
Lockup period of the vault in days
max_tvl
Maximum amount of assets the vault can hold in USDC
name
Name of the vault
operator_account
Operator account of the vault
owner_account
Owner account of the vault
status
Status of the vault
Allowed values:
strategies
Strategies of the vault
token_address
LP token address