Withdraw an LP position
Withdraw an existing Liquidity Provider (LP) position.
This endpoint allows users to remove their tokens from an LP position, effectively closing their participation in the liquidity pool. The withdrawal process involves specifying the LP position to be closed, and the response will confirm the successful removal of liquidity, providing users with details about the withdrawn tokens and any remaining balances. This functionality is essential for users who wish to exit their liquidity provision activities, enabling them to reclaim their assets and potentially reallocate them to other investment opportunities. The endpoint ensures a smooth and secure withdrawal process, facilitating users’ strategic management of their decentralized finance (DeFi) portfolios.
Body
Token ID of the NFT representing the liquidity provisioned position.
How much liquidity to take out in percentage.
0 < x <= 100
"25"
The chain to use.
base:mainnet
, ethereum:mainnet
, arbitrum:mainnet
The address of the transaction sender
Response
The chain id of the transaction
The data of the transaction
The sender of the transaction
The gas of the transaction
The recipient of the transaction
The value of the transaction
The nonce of the address
The max fee per gas of the transaction
The max priority fee per gas of the transaction
Was this page helpful?