interface LpPriceResponse {
    vault: {
        address: `0x${string}`;
        token0: `0x${string}`;
        token1: `0x${string}`;
        balances: {
            token0: string;
            token1: string;
            totalSupply: string;
            token0Formatted: string;
            token1Formatted: string;
            totalSupplyFormatted: string;
        };
        usd: {
            lpValue: number;
            totalValue: number;
            token0Price: number;
            token0Value: number;
            token1Price: number;
            token1Value: number;
        };
        token0Symbol: string;
        token1Symbol: string;
        token0Decimals: string;
        token1Decimals: string;
    };
    routes: { token0ToUsd: FormattedRoute[]; token1ToUsd: FormattedRoute[] };
}

Properties

Properties

vault: {
    address: `0x${string}`;
    token0: `0x${string}`;
    token1: `0x${string}`;
    balances: {
        token0: string;
        token1: string;
        totalSupply: string;
        token0Formatted: string;
        token1Formatted: string;
        totalSupplyFormatted: string;
    };
    usd: {
        lpValue: number;
        totalValue: number;
        token0Price: number;
        token0Value: number;
        token1Price: number;
        token1Value: number;
    };
    token0Symbol: string;
    token1Symbol: string;
    token0Decimals: string;
    token1Decimals: string;
}
routes: { token0ToUsd: FormattedRoute[]; token1ToUsd: FormattedRoute[] }