Reinvest the accumulated fees of a liquidity position
Collects the accumulated pool fees of the position, swaps the excess side to the exact token proportion the position range demands at the current pool price, and increases the liquidity of the same NFT — all in a single user operation.
x-api-keyx-api-key<token>application/json- body
liquidityProvider?stringOptional provider for the reinvest operation. Defaults to Uniswap v3 if omitted.
"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*stringWallet that owns the liquidity position NFT.
chainId*numberTarget blockchain for the reinvest operation. 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
nftId*stringID of the NFT that represents the liquidity
slippage?numberMaximum tolerated slippage for the increaseLiquidity leg (1 unit = 1%). The proportion-adjustment swap runs with a fixed 0.5% slippage.
0 < value <= 990.5transactionFeePercent?numberCustom project fee percent to apply over the adjustment swap amount.
0 <= value <= 99.990extraFee?Optional extra fee configuration that is charged once during the reinvest.
metadata?Custom metadata. Key-value pairs with string values. Max 1KB size.
Quote information for the reinvest operation.
application/json- response
operation*