POST
/
lp
/
increase
curl --request POST \
  --url https://trade-api.gateway.uniswap.org/v1/lp/increase \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "protocol": "V2",
  "tokenId": 123,
  "position": {
    "pool": {
      "token0": "<string>",
      "token1": "<string>",
      "fee": 123,
      "tickSpacing": 123,
      "hooks": "<string>"
    },
    "tickLower": 123,
    "tickUpper": 123
  },
  "poolLiquidity": "<string>",
  "currentTick": 123,
  "sqrtRatioX96": "<string>",
  "walletAddress": "<string>",
  "chainId": 1,
  "amount0": "<string>",
  "amount1": "<string>",
  "independentAmount": "<string>",
  "independentToken": "TOKEN_0",
  "defaultDependentAmount": "<string>",
  "slippageTolerance": 123,
  "deadline": 123,
  "signature": "<string>",
  "batchPermitData": {
    "domain": {},
    "values": {},
    "types": {}
  },
  "simulateTransaction": true
}'
{
  "requestId": "<string>",
  "increase": {
    "to": "<string>",
    "from": "<string>",
    "data": "<string>",
    "value": "<string>",
    "gasLimit": "<string>",
    "chainId": 1,
    "maxFeePerGas": "<string>",
    "maxPriorityFeePerGas": "<string>",
    "gasPrice": "<string>"
  },
  "gasFee": "<string>",
  "dependentAmount": "<string>",
  "poolLiquidity": "<string>",
  "currentTick": 123,
  "sqrtRatioX96": "<string>"
}

Authorizations

x-api-key
string
header
required

Body

application/json

Response

200
application/json

Create LP Position successful.

The response is of type object.