Impermanent Loss (Live)
workflow.run_impermanent_loss_liveLive variant of workflow.run_impermanent_loss: fetches each token's current live USD price (Solana or any of 5 EVM chains) and derives currentPrice as their ratio, instead of it being supplied manually. entryPrice stays a manual, historical input (a fact the caller must supply, not something a live quote should overwrite), same convention as every other live-capable tool in this product. Use when the caller has the pool's two token addresses but doesn't already know the current price ratio. Returns the same fields as workflow.run_impermanent_loss, plus currentPrice, baseSymbol, quoteSymbol, routable (false + error if either token's price can't be resolved).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Default full_range. | |
| baseMint | Yes | Address of the base token | |
| baseChain | No | Chain of the base (volatile) token. Default solana. | |
| quoteMint | Yes | Address of the quote token | |
| entryPrice | Yes | Base token's price in quote-token terms when liquidity was deposited (manual - a historical fact) | |
| lowerPrice | No | Range lower bound - required for concentrated mode | |
| quoteChain | No | Chain of the quote token. Default solana. | |
| upperPrice | No | Range upper bound - required for concentrated mode | |
| feesEarnedUsd | No | Optional trading fees earned so far in USD (default 0) | |
| depositValueUsd | No | Optional: USD value deposited at entry |