Vaults Transactions

Vault transactions for investors and managers.

Get vault deposit transaction

post
/api/v1/vaults-tx/deposit

Returns a serialized, partially-signed transaction to deposit a given amount into a vault.

Body
userstringRequired

Base-58 encoded Solana Pubkey

Example: 11EDNs2ZtWjMEyk9MAXQuMcLY84hZCQHUi1Y1f4p3L
vaultstringRequired

Base-58 encoded Solana Pubkey

Example: 11EDNs2ZtWjMEyk9MAXQuMcLY84hZCQHUi1Y1f4p3L
recent_blockhashstringRequired
amountinteger · int64Required
Responses
chevron-right
200

Successfully formed transaction.

text/plain
stringOptional
post
/api/v1/vaults-tx/deposit

Get share estimate

post
/api/v1/vaults-tx/simulate/deposit

Returns the estimated amount of shares for given deposit token amount.

Body
vaultstringRequired

Base-58 encoded Solana Pubkey

Example: 11EDNs2ZtWjMEyk9MAXQuMcLY84hZCQHUi1Y1f4p3L
amountinteger · int64Required
Responses
chevron-right
200

Successfully fetched estimated price.

application/json
estimated_sharesinteger · int64Required
estimate_for_timestring · date-timeRequired
post
/api/v1/vaults-tx/simulate/deposit

Get vault swap on Jupiter transaction

post
/api/v1/vaults-tx/swap-on-jupiter

Returns a serialized, partially-signed transaction to swap tokens on Jupiter for a given vault context.

Body
amountinteger · int64Required
managerstringRequired

Base-58 encoded Solana Pubkey

Example: 11EDNs2ZtWjMEyk9MAXQuMcLY84hZCQHUi1Y1f4p3L
vaultstringRequired

Base-58 encoded Solana Pubkey

Example: 11EDNs2ZtWjMEyk9MAXQuMcLY84hZCQHUi1Y1f4p3L
input_mintstringRequired

Base-58 encoded Solana Pubkey

Example: 11EDNs2ZtWjMEyk9MAXQuMcLY84hZCQHUi1Y1f4p3L
output_mintstringRequired

Base-58 encoded Solana Pubkey

Example: 11EDNs2ZtWjMEyk9MAXQuMcLY84hZCQHUi1Y1f4p3L
hashstringRequired
Responses
chevron-right
200

Successfully formed transaction.

text/plain
stringOptional
post
/api/v1/vaults-tx/swap-on-jupiter

Get vault swap to deposit token on Jupiter transaction

post
/api/v1/vaults-tx/swap-to-deposit-token-on-jupiter

Returns a serialized, partially-signed transaction to swap tokens on Jupiter to deposit token for a given vault context.

Body
amountinteger · int64Required
managerstringRequired

Base-58 encoded Solana Pubkey

Example: 11EDNs2ZtWjMEyk9MAXQuMcLY84hZCQHUi1Y1f4p3L
vaultstringRequired

Base-58 encoded Solana Pubkey

Example: 11EDNs2ZtWjMEyk9MAXQuMcLY84hZCQHUi1Y1f4p3L
input_mintstringRequired

Base-58 encoded Solana Pubkey

Example: 11EDNs2ZtWjMEyk9MAXQuMcLY84hZCQHUi1Y1f4p3L
hashstringRequired
Responses
chevron-right
200

Successfully formed transaction.

text/plain
stringOptional
post
/api/v1/vaults-tx/swap-to-deposit-token-on-jupiter

Get vault withdraw transaction

post
/api/v1/vaults-tx/withdraw

Returns a serialized, partially-signed transaction to withdraw a given amount into a vault.

Body
userstringRequired

Base-58 encoded Solana Pubkey

Example: 11EDNs2ZtWjMEyk9MAXQuMcLY84hZCQHUi1Y1f4p3L
vaultstringRequired

Base-58 encoded Solana Pubkey

Example: 11EDNs2ZtWjMEyk9MAXQuMcLY84hZCQHUi1Y1f4p3L
recent_blockhashstringRequired
amountinteger · int64Required
Responses
chevron-right
200

Successfully formed transaction.

text/plain
stringOptional
post
/api/v1/vaults-tx/withdraw

Get vault withdraw-in-deposit-token transaction

post
/api/v1/vaults-tx/withdraw-in-deposit-token

Returns a serialized, partially-signed transaction to withdraw a given amount of deposit token into a vault.

Body
userstringRequired

Base-58 encoded Solana Pubkey

Example: 11EDNs2ZtWjMEyk9MAXQuMcLY84hZCQHUi1Y1f4p3L
vaultstringRequired

Base-58 encoded Solana Pubkey

Example: 11EDNs2ZtWjMEyk9MAXQuMcLY84hZCQHUi1Y1f4p3L
recent_blockhashstringRequired
amountinteger · int64Required
Responses
chevron-right
200

Successfully formed transaction.

text/plain
stringOptional
post
/api/v1/vaults-tx/withdraw-in-deposit-token

Get vault CreateVault transaction

post
/api/v1/vaults-tx/create-vault

Returns a serialized, partially-signed transaction to create a vault.

Body
namestringRequiredExample: VaultName
symbolstringRequiredExample: VAULT
uristringRequiredExample: https://vault.starke.xyz
vtoken_is_transferrablebooleanRequired
max_allowed_auminteger · nullableOptional
allow_retailbooleanRequired
allow_accreditedbooleanRequired
allow_institutionalbooleanRequired
allow_qualifiedbooleanRequired
individual_min_depositinteger · int32Required
institutional_min_depositinteger · int32Required
max_depositorsinteger · int32Required
initial_vtoken_priceinteger · int32Required
management_fee_rateinteger · int32Required
individual_max_depositinteger · int32Required
institutional_max_depositinteger · int32Required
managerstringRequired

Base-58 encoded Solana Pubkey

Example: 11EDNs2ZtWjMEyk9MAXQuMcLY84hZCQHUi1Y1f4p3L
deposit_token_mintstringRequired

Base-58 encoded Solana Pubkey

Example: 11EDNs2ZtWjMEyk9MAXQuMcLY84hZCQHUi1Y1f4p3L
transfer_hook_programstringRequired

Base-58 encoded Solana Pubkey

Example: 11EDNs2ZtWjMEyk9MAXQuMcLY84hZCQHUi1Y1f4p3L
recent_blockhashstringRequired
Responses
chevron-right
200

Successfully formed transaction.

text/plain
stringOptional
post
/api/v1/vaults-tx/create-vault

Last updated

Was this helpful?