When you add liquidity within a valid price range, all transaction fees generated within this range will be distributed based on the proportional share of effective liquidity from all positions within the current range.
Method: sdk.Almm.getEarnedFeesLimit({ pool_id: string coin_a: string coin_b: string position_id: string }: AlmmCollectFeeParams )
sdk.Almm.getEarnedFeesLimit({ pool_id: string coin_a: string coin_b: string position_id: string }: AlmmCollectFeeParams )
pool_id: The pool object ID.
pool_id
position_id: Which position you want to query
position_id
coin_a: Coin A type.
coin_a
coin_b: Coin B type.
coin_b
Method: sdk.Almm.collectFees({ pool_id: string coin_a: string coin_b: string position_id: string }: AlmmCollectFeeParams )
sdk.Almm.collectFees({ pool_id: string coin_a: string coin_b: string position_id: string }: AlmmCollectFeeParams )
Last updated 5 months ago