Validate a target-leverage unloop request and project the resulting position.
Path Parameters
1 <= lengthRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
0 < value^0x[0-9a-fA-F]{64}$Position owner and signer of every returned transaction. Relayed execution is not supported.
^0x[a-fA-F0-9]{40}$0 fully exits; 10000 leaves an unborrowed collateral position (1x). Must be below current leverage.
0 <= value <= 4294967295Share-price slippage in basis points (50 = 0.5%). Supply this or the raw price limit, never both.
0 <= value <= 9999Minimum accepted redemption price in raw asset/share units, scaled by 1e27.
^\d{1,78}$Unix seconds; latest keeper execution time. Omit for now + 17 days; a future timestamp overrides the default.
0 < value1797009932Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/vaults/nest-wisdom-vault/unloop/quote" \ -H "Content-Type: application/json" \ -d '{ "chainId": 1, "marketId": "string", "sender": "string", "leverageBps": 0 }'{ "data": { "slug": "string", "chainId": 0, "marketId": "string", "sender": "string", "blockNumber": "string", "vaultAddress": "string", "loanToken": "string", "shareToken": "string", "unlooperAddress": "string", "adapterAddress": "string", "leverageBps": 0, "minSharePriceE27": "string", "deadline": 0, "currentCollateralShares": "string", "currentBorrowShares": "string", "execution": "keeper", "currentDebtAssets": "string", "targetDebtAssets": "string", "targetCollateralShares": "string", "repayAssets": "string", "withdrawCollateralShares": "string", "redeemShares": "string", "walletShareOutput": "string", "risk": { "oracleLeverageBps": "string", "vaultLeverageBps": "string" }, "position": { "collateralAssets": "string", "oracleCollateralAssets": "string", "ltvWad": "string", "liquidationPriceE36": "string" }, "market": { "borrowApy": 0, "borrowApyAfter": 0, "totalSupplyAssets": "string", "totalBorrowAssetsAfter": "string", "availableLiquidityAssets": "string", "exceedsLiquidity": true }, "redemptionFeeAssets": "string", "steps": [ { "label": "approve", "description": "string", "authorized": { "contract": "adapter", "address": "string" } } ] }}Build authorizations and an async unloop request; this does not execute the exit. POST
Previous Page
Build a transaction to reduce an existing pending redemption request. POST
Existing redemptions on registered NestVault instances hidden from EVM Actions can still be reduced or canceled. A nonzero pending balance, a strictly lower total, and the existing simulation checks remain required.