{"uid":"cap_3yZ9FTa6ExB9mVgE9aPVj","slug":"agent-forge-eth-wei-converter-1a844ef6","name":"Agent Forge ETH/Wei Converter","description":"Hash and unit utilities for AI agents: SHA-256, SHA-1, HMAC-SHA256, stable JSON fingerprint, ETH/Gwei/Wei conversion, human bytes, and duration parsing. Pay-per-request USDC via x402. No API keys, no accounts.","url":"https://agent-forge.annushka1190.workers.dev/v1/eth/wei","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"body":{"type":"object"},"type":{"const":"http"},"method":{"enum":["POST"]},"bodyType":{"const":"json"}}}}},"responseSchema":{"type":"json","example":{"ok":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Wv6RO5DVH_jILyPifs-vm","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts ETH values to Wei (and related units like Gwei) for use in Ethereum smart contract interactions and on-chain calculations.","exampleAgentPrompt":"Convert 0.05 ETH to Wei so I can use it in a smart contract call.","exampleUseCases":[{"title":"Smart contract parameter preparation","prompt":"I need to send 0.25 ETH to a smart contract but it expects the value in Wei — can you convert that for me?"},{"title":"Gas price unit normalization","prompt":"My gas oracle returns values in Gwei, but I need to pass 45 Gwei as Wei to the transaction builder — what's the Wei equivalent?"},{"title":"DeFi amount calculation","prompt":"I'm building a DeFi transaction and need to express 1.337 ETH in Wei for the on-chain payload — can you do that conversion?"}],"resultDescription":"Returns a JSON object with ok:true and the converted value in the target Ethereum unit (Wei, Gwei, or ETH depending on the conversion direction requested).","failureModes":["Missing or malformed 'input' body returns an error response","Non-numeric ETH/Wei input values cause conversion failure","Payment not provided or insufficient USDC via x402 results in 402 response","Unsupported conversion direction may return an error"],"whenToPreferThis":"Use this endpoint when an AI agent needs a quick, trustless ETH↔Wei↔Gwei unit conversion without setting up API keys or accounts, especially in workflows involving Ethereum transactions, smart contract calls, or DeFi integrations. Prefer this over implementing conversion logic manually when operating in a pay-per-use agent context.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:36:49.097Z","isFirstParty":false}