v1

latestOpenAPI 3.0.02026-07-142115792.8 KB
Liquidity

Increase LP position calldata

The response will also have the transaction to increase the position for the corresponding pool. If the parameter simulateTransaction is set to true, then the response will include the gas fees for the increase transaction.

post/lp/increase

Request body

protocol'V2' | 'V3' | 'V4' | 'UNISWAPX' | 'UNISWAPX_V2' | 'UNISWAPX_V3'

The protocol to use for the swap/order.

tokenIdnumber
poolLiquiditystring

The amount of liquidity in the pool at a given tick. For more information see the Uniswap V3 Whitepaper.

currentTicknumber

The current tick of the pool. For more information see the Uniswap V3 Whitepaper.

sqrtRatioX96string

The square root of the ratio of the token0 and token1 in the pool, as a Q64.64 number. For more information see the Uniswap V3 Whitepaper.

walletAddressstring
chainId1 | 10 | 56 | 130 | 137 | 324 | 480 | 1868 | 8453 | 10143 | 42161 | 42220 | 43114 | 81457 | 7777777 | 1301 | 84532 | 11155111 | 143 | 196

The unique ID of the blockchain. For a list of supported chains see the FAQ.

amount0string

The quantity of tokens denominated in the token's base units. (For example, for an ERC20 token one token is 1x10^18 base units. For one USDC token one token is 1x10^6 base units.) This value must be greater than 0.

amount1string

The quantity of tokens denominated in the token's base units. (For example, for an ERC20 token one token is 1x10^18 base units. For one USDC token one token is 1x10^6 base units.) This value must be greater than 0.

independentAmountstring

The quantity of tokens denominated in the token's base units. (For example, for an ERC20 token one token is 1x10^18 base units. For one USDC token one token is 1x10^6 base units.) This value must be greater than 0.

independentToken'TOKEN_0' | 'TOKEN_1'
defaultDependentAmountstring

The quantity of tokens denominated in the token's base units. (For example, for an ERC20 token one token is 1x10^18 base units. For one USDC token one token is 1x10^6 base units.) This value must be greater than 0.

slippageTolerancenumber
deadlinenumber

The unix timestamp at which the order will be reverted if not filled.

signaturestring

The signed permit.

simulateTransactionboolean

Response

Create LP Position successful.

requestIdstring

A unique ID for the request.

gasFeestring

The total estimated gas cost of this transaction (eg. gasLimit multiplied by maxFeePerGas) in the base unit of the chain.

dependentAmountstring

The quantity of tokens denominated in the token's base units. (For example, for an ERC20 token one token is 1x10^18 base units. For one USDC token one token is 1x10^6 base units.) This value must be greater than 0.

poolLiquiditystring

The amount of liquidity in the pool at a given tick. For more information see the Uniswap V3 Whitepaper.

currentTicknumber

The current tick of the pool. For more information see the Uniswap V3 Whitepaper.

sqrtRatioX96string

The square root of the ratio of the token0 and token1 in the pool, as a Q64.64 number. For more information see the Uniswap V3 Whitepaper.