17trust / 100
Calculadora Il Pago
by Vextorium in Onchain & crypto
x402 APIFailing, checked 47 min ago
Impermanent loss calculator for Uniswap v2 (full range) and v3/v4 concentrated ranges: IL vs holding, out-of-range flag and final token mix.
POST https://api.vextorium.com/calculadora-il-pago
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 0.0%
- Response time
- - typical, - slowest 5%
- Last check
- 47 min ago: Amount "0.003" is not in atomic token units
- Next check
- in 14 min
How to call it
# See the payment challenge (nothing is charged)
curl -i -X POST "https://api.vextorium.com/calculadora-il-pago" \
-H "content-type: application/json" \
-d '{"precio_final":2600,"precio_inicial":2000,"rango_max":2400,"rango_min":1800}'import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client().register(
"eip155:8453",
new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi.vextorium.com%2Fcalculadora-il-pago
const res = await pay("https://api.vextorium.com/calculadora-il-pago", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"precio_final":2600,"precio_inicial":2000,"rango_max":2400,"rango_min":1800}),
});
console.log(await res.json());Example input
{
"precio_final": 2600,
"precio_inicial": 2000,
"rango_max": 2400,
"rango_min": 1800
}Example output
{
"cambio_precio_pct": 30,
"composicion_final": {
"token0_pct": 0,
"token1_pct": 100
},
"fuera_de_rango": true,
"nota": "Perdida frente a mantener los tokens, sin contar comisiones. Fuera de rango la posicion...",
"perdida_impermanente_pct": -10.8289,
"rango": [
1800
],
"tipo": "rango concentrado (Uniswap v3/v4)"
}Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 47 min ago | Amount "0.003" is not in atomic token units | 402 | 80 ms | $0.003 |
| 5 h ago | Amount "0.003" is not in atomic token units | 402 | 108 ms | $0.003 |
| 10 h ago | Amount "0.003" is not in atomic token units | 402 | 74 ms | $0.003 |
| 14 h ago | Amount "0.003" is not in atomic token units | 402 | 81 ms | $0.003 |
| 18 h ago | Amount "0.003" is not in atomic token units | 402 | 85 ms | $0.003 |
| 22 h ago | Amount "0.003" is not in atomic token units | 402 | 97 ms | $0.003 |
| 26 h ago | Amount "0.003" is not in atomic token units | 402 | 105 ms | $0.003 |
| 30 h ago | Amount "0.003" is not in atomic token units | 402 | 87 ms | $0.003 |
| 33 h ago | Amount "0.003" is not in atomic token units | 402 | 80 ms | $0.003 |
| 38 h ago | Amount "0.003" is not in atomic token units | 402 | 85 ms | $0.003 |
| 42 h ago | Amount "0.003" is not in atomic token units | 402 | 79 ms | $0.003 |
| 47 h ago | Amount "0.003" is not in atomic token units | 402 | 73 ms | $0.003 |
| 2 days ago | Amount "0.003" is not in atomic token units | 402 | 96 ms | $0.003 |
| 2 days ago | Amount "0.003" is not in atomic token units | 402 | 87 ms | $0.003 |
| 2 days ago | Amount "0.003" is not in atomic token units | 402 | 75 ms | $0.003 |