Documentation Index
Fetch the complete documentation index at: https://docs.enso.build/llms.txt
Use this file to discover all available pages before exploring further.
Discovering Orderly Vaults
You can use/nontokenized endpoint to discover all the available Orderly vaults:
Example response
For example, this is Orderly OmniVault position from/nontokenized
Route Example
Here’s how to deposit into Orderly OmniVault (positionId0xa3426a1cef4052c056fced18099be899d93f1427d13b9a1df1806b91fad3d0c2).
Route Mechanics:
- Swap ETH to USDC if needed (Orderly OmniVault requires USDC deposits)
- Execute the deposit transaction to add USDC to the Orderly Omnivault
- Receive a nontokenized position in Orderly
Fee in ETH is required for Orderly vault deposits. The fee will be added to
the native token of the chain and included in the
tx.value.Request Parameters
| Parameter | Description | Example |
|---|---|---|
chainId | Chain ID of the network to execute on | 10 (Optimism) |
fromAddress | The address making the request | 0xd8da6bf26964af9d7eed9e03e53415d37aa96045 |
routingStrategy | Routing strategy to use | router |
tokenIn | Address of token to swap from | 0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee (ETH) |
positionOut | Position ID of the target vault | 0xa3426a1cef4052c056fced18099be899d93f1427d13b9a1df1806b91fad3d0c2 |
amountIn | Amount of tokenIn to deposit (in wei) | 1000000000000000000 (1 ETH) |
receiver | Address to receive the vault position | 0xd8da6bf26964af9d7eed9e03e53415d37aa96045 |
Route Response Example
The API returns a response with the following structure:- Swap: Convert ETH to the required token for the vault (if needed)
- Deposit: Deposit the converted token into the Orderly vault
Key Points
- Use the
/shortcuts/route/nontokenizedendpoint for nontokenized position routing - The
positionOutparameter uses the vault’s position ID - Fees are charged in the chain’s native token
- The response includes transaction data ready to be executed on-chain
