Change Liquidity
Change the amount of liquidity provided in a liquidity pool
x-api-keyx-api-key<token>application/json- body
liquidityProvider?stringOptional provider for entering a liquidity pool. If not provided, Uniswap v3 will be used.
"UNISWAP_V3""PANCAKESWAP_V3""UNISWAP_V4"nftAddress?|Optional position manager (NFT contract) of the position: the nftAddress returned when the position was created. It selects the liquidity provider; if liquidityProvider is also sent, both must name the same provider. Without either, Uniswap V3 is used.
walletAddress*stringThe wallet address (in hexadecimal format) who owns the liquidity.
chainId*numberThe blockchain network where the current liquidity will be modified. Supported EVM chains:
- Arbitrum One: 42161
- Avalanche: 43114
- Base: 8453
- BNB Smart Chain: 56
- Ethereum: 1
- Gnosis: 100
- OP Mainnet: 10
- Polygon: 137
- X Layer Mainnet: 196
- Robinhood Chain: 4663
payGasFeeToken*stringThe token address (in hexadecimal format) used to pay the transaction fee.
gasFeePaymentMethod*stringDefines how the fee will be paid: "ADD_TO_AMOUNT" adds it to the input amount, while "DEDUCT_FROM_AMOUNT" subtracts it from the input amount.
"ADD_TO_AMOUNT""DEDUCT_FROM_AMOUNT"transactionFeePercent?numberPercentage fee applied to the transaction (e.g., 5 for 5%).
0 <= value <= 99.990tokenId*stringID of the NFT that represents the liquidity
change*|slippage?numberOptional parameter controlling the maximum deviation allowed of the expected price of a trade and the actual price at which the trade is executed, with a minimum value of 0.5 and a maximum value of 99, default is 0.5, where 1 unit equals 1%.
0 <= value <= 990.5unwrapNativeToken?|When removing liquidity, receive the native token (POL, ETH...) instead of the wrapped one (WPOL, WETH...) for that leg of the position. The wrapped token never reaches the wallet, so pay the gas fee with the native token or another token the wallet holds. Ignored when the position has no wrapped native token or when adding liquidity.
metadata?Custom metadata. Key-value pairs with string values. Max 1KB size.
Data about the change of liquidity
application/json- response
operation*