impermanent_loss
Impermanent loss versus holding for a constant-product pool given the price change of one asset, with optional fee APR to find the break-even. 0.001 USDC per call via x402.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Days in the position | |
| feeAprPct | No | Pool fee APR in percent | |
| paymentProof | No | Payment proof: USDC tx hash on Polygon or Base (0x...) or Solana tx signature. Omit on the first call to receive the 402 payment instructions, pay, then call again with the proof. | |
| priceChangePct | Yes | Price change of asset A vs B in percent |