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
Onboarded by prdx:0xa123456789
Starknet signature
Starknet address
Account derivation path - m/44'/9004'/0'/0/1
Request body
Example request
{
"curator_name": "Some Curator",
"deposit_tx_signature": "[",
"description": "My vault description",
"lockup_period": 1,
"max_tvl": 1000000,
"name": "MyVault",
"operator_eth_address": "0x1234567890abcdef1234567890abcdef12345678",
"operator_index": 1,
"operator_signer_type": "eip191",
"profit_share": 10,
"public_key": "0x1234567890abcdef",
"show_balances": true,
"show_positions": true,
"strategy_description": "Delta Neutral"
}Response
Created
Example response
{
"address": "0x1234567890abcdef",
"created_at": 1517171717,
"curator_name": "Some Curator",
"description": "My description",
"last_updated_at": 1617171717,
"lockup_period": 1,
"max_tvl": 1000000,
"name": "MyVault",
"operator_account": "0x1234567890abcdef",
"owner_account": "0x0234567890abcdef",
"profit_share": 10,
"strategies": [
{
"address": "0x29464b79b02543ed8746bba6e71c8a15401dd27b7279a5fa2f2fe8e8cdfabb",
"name": "Alpha Strategy",
"visibility": {
"balances": true,
"positions": true
}
}
],
"strategy_description": "Delta Neutral",
"visibility": {
"balances": true,
"positions": true
}
}Changes
Changed in 8 of the 65 revisions of this API.43220
- ●
added the new
BLOCK_TRADE_REPLAYED_SIGNATUREenum value to the////response property for the response statusresponse-property-enum-value-added
- ●
added the new
EVM_VAULT_OPERATORS_DISABLEDenum value to the////response property for the response statusresponse-property-enum-value-added
- ●
added the new
VAULT_DATA_PRIVATEenum value to the////response property for the response statusresponse-property-enum-value-added
- ○
added the new optional request property
new-optional-request-property
- ○
added the new optional request property
new-optional-request-property
- ○
added the new optional request property
new-optional-request-property
- ○
added the new optional request property
new-optional-request-property
- ○
added the new optional request property
new-optional-request-property
- ○
added the optional property
//to the response with the statusresponse-optional-property-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ●
- ○
removed the
INVALID_RHINOFI_QUOTEenum value from the////response property for the response statusresponse-property-enum-value-removed
- ○
removed the
INVALID_RHINOFI_QUOTE_COMMITenum value from the////response property for the response statusresponse-property-enum-value-removed
- ○
removed the
INVALID_RHINOFI_REQUESTenum value from the////response property for the response statusresponse-property-enum-value-removed
- ○
- ●
added the new
IP_NOT_ALLOWEDenum value to the////response property for the response statusresponse-property-enum-value-added
- ●
added the new
MARKET_NOT_SETTLEDenum value to the////response property for the response statusresponse-property-enum-value-added
- ○
added the new optional request property
new-optional-request-property
- ○
added the new optional request property
new-optional-request-property
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ●
- ●
added the new
BLOCK_TRADE_INVALID_SIGNATUREenum value to the////response property for the response statusresponse-property-enum-value-added
- ●
added the new
BLOCK_TRADE_SIGNER_KEY_UNAUTHORIZEDenum value to the////response property for the response statusresponse-property-enum-value-added
- ●
- ●
added the new
EVM_ADDRESS_ALREADY_ONBOARDEDenum value to the////response property for the response statusresponse-property-enum-value-added
- ●
added the new
INSUFFICIENT_EVM_BALANCEenum value to the////response property for the response statusresponse-property-enum-value-added
- ●
added the new
PORTFOLIO_MARGIN_INVALID_ACCOUNT_KINDenum value to the////response property for the response statusresponse-property-enum-value-added
- ●
added the new
PORTFOLIO_MARGIN_ONBOARDING_DISABLEDenum value to the////response property for the response statusresponse-property-enum-value-added
- ●
- ○
removed the
BAD_STARKNET_REQUESTenum value from the////response property for the response statusresponse-property-enum-value-removed
- ○
removed the
INVALID_PRICE_PRECISIONenum value from the////response property for the response statusresponse-property-enum-value-removed
- ○
removed the
TRANSACTION_NOT_FOUNDenum value from the////response property for the response statusresponse-property-enum-value-removed
- ○
- ▲
the
response's property type changed fromobjectto no type for statusresponse-property-type-changed
- ▲
the
response's property type changed fromobjectto no type for statusresponse-property-type-changed
- ▲
the
response's property type changed fromobjectto no type for statusresponse-property-type-changed
- ●
added the new
BLOCK_TRADE_ACCOUNT_MISMATCHenum value to the////response property for the response statusresponse-property-enum-value-added
- ●
added the new
BLOCK_TRADE_ALREADY_CANCELLEDenum value to the////response property for the response statusresponse-property-enum-value-added
- ●
added the new
BLOCK_TRADE_EXPIREDenum value to the////response property for the response statusresponse-property-enum-value-added
- ●
added the new
BLOCK_TRADE_INVALID_STATUSenum value to the////response property for the response statusresponse-property-enum-value-added
- ●
added the new
BLOCK_TRADE_MISSING_SIGNATUREenum value to the////response property for the response statusresponse-property-enum-value-added
- ●
added the new
BLOCK_TRADE_MISSING_SIGNERSenum value to the////response property for the response statusresponse-property-enum-value-added
- ●
added the new
BLOCK_TRADE_MISSING_TRADESenum value to the////response property for the response statusresponse-property-enum-value-added
- ●
added the new
BLOCK_TRADE_NOT_ENABLEDenum value to the////response property for the response statusresponse-property-enum-value-added
- ●
added the new
BLOCK_TRADE_NOT_FOUNDenum value to the////response property for the response statusresponse-property-enum-value-added
- ●
added the new
BLOCK_TRADE_UNAUTHORIZEDenum value to the////response property for the response statusresponse-property-enum-value-added
- ●
added the new
EVM_SIGNATURE_VERIFICATION_FAILEDenum value to the////response property for the response statusresponse-property-enum-value-added
- ●
added the new
INVALID_EVM_SIGNATUREenum value to the////response property for the response statusresponse-property-enum-value-added
- ●
added the new
MEDIA_NOT_FOUNDenum value to the////response property for the response statusresponse-property-enum-value-added
- ●
added the new
OFFER_ALREADY_CANCELLEDenum value to the////response property for the response statusresponse-property-enum-value-added
- ●
added the new
OFFER_INVALID_STATUSenum value to the////response property for the response statusresponse-property-enum-value-added
- ●
added the new
OFFER_PARENT_MISMATCHenum value to the////response property for the response statusresponse-property-enum-value-added
- ●
added the new
OFFER_PARENT_NOT_ACCEPTINGenum value to the////response property for the response statusresponse-property-enum-value-added
- ●
added the new
OFFER_UNAUTHORIZEDenum value to the////response property for the response statusresponse-property-enum-value-added
- ●
added the new
PORTFOLIO_MARGIN_CONFIG_NOT_FOUNDenum value to the////response property for the response statusresponse-property-enum-value-added
- ●
added the new
SUBKEY_NOT_ACTIVATABLEenum value to the////response property for the response statusresponse-property-enum-value-added
- ●
added the new
XP_TRANSFERS_DISABLEDenum value to the////response property for the response statusresponse-property-enum-value-added
- ○
removed the
INVALID_JOIN_WAITLIST_REQUESTenum value from the////response property for the response statusresponse-property-enum-value-removed
- ▲
- ▲
added required request body
request-body-added-required
- ○
added the media type
application/jsonfor the response with the statusresponse-media-type-added
- ○
added the media type
application/jsonfor the response with the statusresponse-media-type-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲