{"uid":"cap_qQ0dOLI_M8GLyBxOvH2gk","slug":"delx-commerce-eth-to-wei-converter-ea4510da","name":"Delx Commerce — ETH to Wei Converter","description":"Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.","url":"https://commerce.delx.ai/api/v1/x402/eth-to-wei?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"eth":{"type":"number","description":"Input field: eth."}}},"responseSchema":{"type":"json","example":{"eth":0.05,"wei":"50000000000000000","schema":"delx/util-eth-to-wei/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__oXQXUMElB7ZLAHxWDLSz","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 an ETH amount (as a decimal number) to its equivalent Wei value (as a string integer).","exampleAgentPrompt":"How many wei is 0.05 ETH? Use the Delx ETH-to-wei converter to get the exact integer value.","exampleUseCases":[{"title":"Smart contract gas value preparation","prompt":"I need to send 0.1 ETH in a smart contract call but the function expects a wei integer — can you convert 0.1 ETH to wei for me?"},{"title":"DeFi transaction amount formatting","prompt":"I'm building a swap transaction and need to pass the input amount in wei. Convert 2.5 ETH to wei so I can plug it into the transaction data."},{"title":"Wallet balance denomination check","prompt":"My wallet shows 0.003 ETH — can you tell me exactly how many wei that is as a full integer?"}],"resultDescription":"Returns a JSON object with the original ETH value, the computed Wei value as a string integer (to preserve precision), and a schema identifier ('delx/util-eth-to-wei/v1'). For example, 0.05 ETH yields '50000000000000000' wei.","failureModes":["Missing or invalid 'eth' field returns an error response","Non-numeric input for 'eth' causes a validation failure","Extremely large ETH values may cause precision issues","Payment failure (x402) prevents endpoint access"],"whenToPreferThis":"Use this endpoint when an AI agent or automated workflow needs a precise, API-verified ETH-to-wei conversion without implementing the 10^18 multiplication in-process — especially useful when precision and verifiability matter, or when the agent is already operating within the Delx pay-per-result API ecosystem using x402 payments.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:53:49.522Z","isFirstParty":false,"canonicalSlug":"delx-commerce-eth-to-wei-converter-ea4510da"}