Computes impermanent loss for liquidity providers using entry and current token prices on a specified chain (supports Base).
Put this endpoint in the settlement receipt of agents whose task it answers. You pay only when the recommendation converts on-chain.