Interface: GetPositionResult
Result from getting detailed information about a specific liquidity position. Contains comprehensive data about position state, fees, and token information.
Properties
fee
fee: number;
Fee tier of the pool (e.g., 500 for 0.05%, 3000 for 0.3%)
feeGrowthInside0Last
feeGrowthInside0Last: BigNumber;
Fee growth inside the position's tick range for token0 since position creation
feeGrowthInside1Last
feeGrowthInside1Last: BigNumber;
Fee growth inside the position's tick range for token1 since position creation
liquidity
liquidity: BigNumber;
Amount of liquidity provided in this position
poolHash
poolHash: string;
Unique hash identifier for the liquidity pool
positionId
positionId: string;
Unique identifier for this specific liquidity position
tickLower
tickLower: number;
Lower tick boundary of the position's price range
tickUpper
tickUpper: number;
Upper tick boundary of the position's price range
token0ClassKey
token0ClassKey: GalaChainTokenClassKey;
Token class key for the first token in the pair (ordered by token address)
token1ClassKey
token1ClassKey: GalaChainTokenClassKey;
Token class key for the second token in the pair (ordered by token address)
tokensOwed0
tokensOwed0: BigNumber;
Amount of token0 fees accumulated and owed to the position owner
tokensOwed1
tokensOwed1: BigNumber;
Amount of token1 fees accumulated and owed to the position owner