Skip to main content
POST
Create vault with auto-invest

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

network
enum<string>
required

Stellar network to execute the transaction on (testnet or mainnet)

Available options:
testnet,
mainnet

Body

application/json

Auto-invest vault creation parameters

caller
string
required

Caller address who will deposit and initially manage

Example:

"GBZXUKUYGXLASTLIXGIV2RJGWQHVRIS7AANR7AHXFPA67LNSAGO6WPPE"

roles
object
required

Vault roles configuration

name
string
required

Vault name

Required string length: 1 - 32
Example:

"My Auto-Invest Vault"

symbol
string
required

Vault symbol

Required string length: 1 - 10
Example:

"MAIV"

vaultFee
number
required

Vault fee in basis points (0-10000, where 10000 = 100%)

Required range: 0 <= x <= 10000
Example:

10

upgradable
boolean
required

Whether vault is upgradable

Example:

true

assets
object[]
required

Asset allocations with strategies (1-10 assets)

Required array length: 1 - 10 elements

Response

Transaction XDR created successfully

xdr
string

Transaction XDR to sign and submit

predictedVaultAddress
string

Predicted vault address from simulation (may differ from actual)

warning
string

Warning about address prediction reliability