Position Management
Important: This endpoint behaves differently based on the position ID parameter:
- With Position ID: Deposits into the specified existing position
- Without Position ID: Creates a new position (does NOT auto-reuse empty positions like Jupiter’s frontend)
Path Parameters
Vault ID to interact with.
Required range:
x >= 1Example:
1
Query Parameters
Optional position ID to deposit into. If provided, deposits into the existing position. If not provided, creates a new position. Note: We do NOT auto-reuse empty positions like Jupiter's frontend does.
Required range:
x >= 0Example:
0