UniDevKit - v2.1.1
    Preparing search index...

    Interface GetPositionInfoResponse

    Basic position information without SDK instances. Returns raw position data from the blockchain.

    interface GetPositionInfoResponse {
        currency0: Currency;
        currency1: Currency;
        currentTick: number;
        liquidity: bigint;
        poolId: `0x${string}`;
        poolKey: PoolKey;
        poolLiquidity: bigint;
        slot0: readonly [bigint, number, number, number];
        tickLower: number;
        tickUpper: number;
        tokenId: string;
    }
    Index

    Properties

    currency0: Currency

    The first token in the pool pair

    currency1: Currency

    The second token in the pool pair

    currentTick: number

    Current price tick of the pool

    liquidity: bigint

    Current liquidity amount in the position

    poolId: `0x${string}`

    The unique identifier of the pool

    poolKey: PoolKey

    Pool configuration (currencies, fee, tick spacing, hooks)

    poolLiquidity: bigint

    Current total liquidity in the pool

    slot0: readonly [bigint, number, number, number]

    Slot0 data from the pool (sqrtPriceX96, tick, protocolFee, lpFee)

    tickLower: number

    Lower tick boundary of the position

    tickUpper: number

    Upper tick boundary of the position

    tokenId: string

    The unique identifier of the position