Quote adjust
quote_adjustQuote adding collateral ('push', requires leverage) or withdrawing it ('pull'). Returns a quote envelope; expiresAt is unix ms and quotes expire after 180 seconds. Amounts are base-unit integer strings.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Collateral to add or withdraw, in base units | |
| chainId | Yes | EVM chain id | |
| leverage | No | Target leverage as a plain number between 1 and 100: 3 means 3x (not 1e18 fixed-point) | |
| slippage | No | Slippage tolerance as a decimal: 0.005 means 0.5% (not 1e18 fixed-point) | |
| direction | Yes | ||
| strategyId | Yes | Strategy id from list_strategies (`strategyId`) | |
| positionAddress | Yes | Position (vault) address |