Add to Existing Position
Increase liquidity in your current positions without creating new NFTs. Add more tokens to existing bins or expand to new price ranges within the same position.
Prerequisites
Existing position NFT ID
Additional tokens to deposit
Same distribution strategy or new bins
Position must belong to the pair
Basic Usage
const pair = await sdk.Pair.getPair(pairAddress);
const positionId = "0x123...abc";
// Add more liquidity to existing position
const tx = await sdk.Pair.addLiquidity(pair, {
positionId,
amountX: 500000000n, // 0.5 token X
amountY: 1000000000n, // 1 token Y
deltaIds: [-2, -1, 0, 1, 2],
distributionX: [0, 0, 100, 0, 0],
distributionY: [0, 0, 100, 0, 0]
});
await sdk.fullClient.signAndExecuteTransaction({
transaction: tx,
signer: keypair
});Method Parameters
Adding to Same Bins
Expanding Range
Compound Fees Strategy
Add to Specific Bins Only
What Happens
Validates position ownership
Deposits additional tokens into specified bins
Updates position's liquidity shares
Maintains existing fee accumulation
No new NFT created
Important Notes
Can add to new bins not in original position
Existing liquidity remains untouched
Fees continue accumulating normally
Gas efficient for position scaling
Common Use Cases
DCA Strategy: Regular liquidity additions
Reinvestment: Compound earned fees
Range Extension: Adapt to market moves
Concentration: Focus on profitable bins
Related Topics
Get Position Bins - Check current bins
Calculate Token Amounts - Required tokens
Remove from Specific Bins - Rebalance
Position Value - Track growth
Last updated