Collect fees from liquidity
Collects the fees received by the liquidity NFT. This will both create a user operation to be executed and will show how much will be collected, so you can choose if you really want to collect it or not. Always collects the full amount.
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.
chainId*numberThe blockchain network where the liquidity will be provided. 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
walletAddress*stringThe wallet address (in hexadecimal format) who owns the liquidity.
payGasFeeToken*stringThe token address (in hexadecimal format) used to pay the transaction fee.
unwrapNativeToken?|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.
metadata?Custom metadata. Key-value pairs with string values. Max 1KB size.
The amounts of tokens needed to provide liquidity.
application/json- response
operation*