{"uid":"cap_YfK23GruCiHrfIuFoLQTW","slug":"finmath-eth-unit-converter-33aef341","name":"finmath ETH Unit Converter","description":"Deterministic finance and crypto math for AI agents: TradFi (NPV, IRR, XIRR, Black-Scholes + Greeks, bonds, VaR, Sharpe) and DeFi (impermanent loss, perp liquidation, funding, Uniswap v3, health factor, cost basis). Exact, model-free arithmetic that LLMs get wrong — priced per call in USDC.","url":"https://finmath.qzqh5rrbkz.workers.dev/v1/eth_unit_convert","method":"POST","headers":{},"bodySchema":{"type":"object","required":["from","amount"],"properties":{"to":{"type":"string","description":"to"},"from":{"type":"string","description":"from"},"amount":{"type":"number","description":"amount"}}},"responseSchema":{"type":"object","required":["result","meta"],"properties":{"meta":{"type":"object"},"result":{}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Rpo2IeK6KLh79WluCxWL4","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts Ethereum amounts between denominations (e.g., wei, gwei, ether) with exact, deterministic arithmetic","exampleAgentPrompt":"Convert 1500000000000000000 wei to ether using exact arithmetic — I need the precise result for a transaction cost calculation.","exampleUseCases":null,"resultDescription":"A result object containing the converted numeric value in the target unit, plus a meta object with additional context about the conversion. The arithmetic is exact and model-free, avoiding floating-point rounding errors common in LLM calculations.","failureModes":["Missing required 'from' field returns validation error","Missing required 'amount' field returns validation error","Unrecognized unit name (e.g. typo in 'from' or 'to') returns error","Amount out of range or non-numeric returns error","Payment not provided or insufficient USDC returns 402 response"],"whenToPreferThis":"Use this endpoint when you need exact, deterministic Ethereum unit conversions (wei ↔ gwei ↔ ether ↔ finney etc.) without relying on LLM arithmetic, which is prone to floating-point errors at the scale of wei values. Prefer this over asking an LLM to compute directly when precision is critical, such as for transaction gas cost calculations, DeFi position sizing, or on-chain value comparisons.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:50:46.039Z","isFirstParty":false}