Aqua0
API ReferencePools

Set an LP's JIT range preference for a pool

Stores the LP's chosen V4 tick range for a pool, the curve Aqua0 prices JIT swaps against. It carries no capital authority, moves no funds, and is wallet-bound so an LP can only set their own range.

POST
/api/vaults/jit-preferences/{chainId}

Authorization

ApiKeyAuth
X-API-Key<token>

In: header

Path Parameters

chainId*string

Numeric ID of the chain to query or act on.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/api/vaults/jit-preferences/string" \  -H "Content-Type: application/json" \  -d '{    "poolId": "string",    "tickLower": "string",    "tickUpper": "string",    "amount0": "string",    "amount1": "string",    "token0": "string",    "token1": "string"  }'
{  "preference": {    "id": "string",    "lp": "string",    "sourceChainId": 0,    "targetChainId": 0,    "poolId": "string",    "tickLower": 0,    "tickUpper": 0,    "amount0": "string",    "amount1": "string",    "token0": "string",    "token1": "string",    "active": true,    "createdAt": 0  }}
Empty
Empty