Uniswap · Schema
IncreasePositionRequest
IncreasePositionRequest schema from Uniswap Trading API
BlockchainCryptocurrencyDeFiDecentralized ExchangeLiquiditySwaps
Properties
| Name | Type | Description |
|---|---|---|
| walletAddress | object | |
| chainId | object | |
| protocol | object | |
| token0Address | object | |
| token1Address | object | |
| nftTokenId | string | The NFT token ID for V3/V4 positions. Not required for V2. |
| independentToken | object | The token whose amount you are specifying. |
| slippageTolerance | number | Slippage tolerance as a decimal (e.g., 0.5 for 0.5%). |
| deadline | integer | Unix timestamp after which the transaction will revert. |
| simulateTransaction | boolean | If true, the response will include the gas fee. |
| v4BatchPermitData | object | Batch permit data for V4 positions. |
| signature | string | The signed permit. |
| urgency | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/uniswap/refs/heads/main/json-schema/uniswap-increase-position-request-schema.json",
"title": "IncreasePositionRequest",
"description": "IncreasePositionRequest schema from Uniswap Trading API",
"type": "object",
"properties": {
"walletAddress": {
"$ref": "#/components/schemas/Address"
},
"chainId": {
"$ref": "#/components/schemas/ChainId"
},
"protocol": {
"$ref": "#/components/schemas/ProtocolItems"
},
"token0Address": {
"$ref": "#/components/schemas/Address"
},
"token1Address": {
"$ref": "#/components/schemas/Address"
},
"nftTokenId": {
"type": "string",
"description": "The NFT token ID for V3/V4 positions. Not required for V2."
},
"independentToken": {
"allOf": [
{
"$ref": "#/components/schemas/LPToken"
}
],
"description": "The token whose amount you are specifying."
},
"slippageTolerance": {
"type": "number",
"description": "Slippage tolerance as a decimal (e.g., 0.5 for 0.5%)."
},
"deadline": {
"type": "integer",
"description": "Unix timestamp after which the transaction will revert."
},
"simulateTransaction": {
"type": "boolean",
"description": "If true, the response will include the gas fee."
},
"v4BatchPermitData": {
"allOf": [
{
"$ref": "#/components/schemas/NullablePermit"
}
],
"description": "Batch permit data for V4 positions."
},
"signature": {
"type": "string",
"description": "The signed permit."
},
"urgency": {
"$ref": "#/components/schemas/GasUrgency"
}
},
"required": [
"walletAddress",
"chainId",
"protocol",
"token0Address",
"token1Address",
"independentToken"
]
}