{"uid":"cap_HWl7xkJzgFNfTeGn3Rm7g","slug":"wei-to-ether-converter-84fb6309","name":"Wei to Ether Converter","description":"Scale wei integer strings into ether for dashboards and receipts. Call when displaying balances, receipts, or logs that arrive in wei. Returns eth float plus wei string as deterministic JSON for $0.001 USDC via x402 on Base. First-party local math only—no RPC, live market feed, API keys, storage, or mediagen. Advisory only; the caller owns capital, risk, and production controls.","url":"https://api.delx.ai/api/v1/x402/wei-to-eth","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"wei":{"type":"string","description":"Input field: wei."}}},"responseSchema":{"type":"json","example":{"eth":0.05,"wei":"50000000000000000","schema":"delx/util-wei-to-eth/v1"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","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_iRsc_gxpSEEiEadUa9ZHi","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 a wei integer string to its equivalent ether float value for display in dashboards, receipts, and logs.","exampleAgentPrompt":"Can you convert 2500000000000000000 wei to ether so I can show it properly on the dashboard?","exampleUseCases":[{"title":"Wallet balance display in ETH","prompt":"I'm pulling raw balances from the Ethereum chain and they're all in wei — can you convert 987654321000000000 wei to ether so I can show a readable number in the user's wallet dashboard?"},{"title":"Transaction receipt formatting","prompt":"I have a payment receipt that shows the amount as 50000000000000000 wei — convert that to ETH so I can display it in a human-readable format on the confirmation screen."},{"title":"DeFi log amount normalization","prompt":"My event logs are coming back with amounts like 1230000000000000000000 wei — can you scale that to ether for me so I can label the chart correctly?"}],"resultDescription":"Returns a deterministic JSON object containing the ether float equivalent and the original wei value as a string, computed via local arithmetic with no external RPC or market feed calls.","failureModes":["Non-numeric or missing wei string returns a validation error","Extremely large integers beyond safe float precision may lose precision in the ether float output","Malformed JSON request body returns a 400-level error","Network or payment authorization failure returns a 402 or 5xx error"],"whenToPreferThis":"Choose this endpoint when you need a fast, deterministic, zero-dependency wei-to-ETH unit conversion with no API key, no RPC node, and no market data — ideal for display formatting in dashboards, receipts, or logs where you just need the numeric scaling from 1e-18.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:57:42.274Z","isFirstParty":false}