{"uid":"cap_PkJ29c8C4yA7rE7oH1eHB","slug":"payai-crypto-unit-converter-address-checksum-14deb4bd","name":"PayAI Crypto Unit Converter & Address Checksum","description":"Convert token units (wei/gwei/ether or arbitrary decimals), between hex and int, and compute/validate an EIP-55 checksummed address.","url":"https://payai.agentstools.dev/crypto/convert","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["op"],"properties":{"op":{"enum":["units","checksum","hex"],"type":"string"},"to":{"description":"Target unit for op=units; for op=hex use int or hex"},"from":{"description":"Source unit for op=units: wei, gwei, ether, or an integer decimals count"},"value":{"description":"Amount for op=units; integer or 0x hex for op=hex"},"address":{"type":"string","description":"Address to checksum/validate (op=checksum)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"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_vx_TQ1PsEiP2ot-jp1E0l","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 token units (wei/gwei/ether or arbitrary decimal precision), converts between hex and integer representations, and computes or validates EIP-55 checksummed Ethereum addresses.","exampleAgentPrompt":"Convert 1500000000000000000 wei to ether using the units operation, treating the source as wei and target as ether.","exampleUseCases":[{"title":"Validate user-submitted wallet addresses","prompt":"I need to check if someone sent me an Ethereum address that looks suspicious. Can you validate whether this address has the correct EIP-55 checksum and make sure it's a valid format?"},{"title":"Calculate transaction gas fees in readable units","prompt":"A user is about to send a transaction and wants to know how much 250000 gwei is in actual ether so they understand the cost."},{"title":"Handle token transfer decimal conversions","prompt":"I'm processing a USDC transfer that shows an amount of 5000000 in the blockchain data. Can you convert that to the actual token amount using 6 decimals so I can display it correctly to the user?"}],"resultDescription":"Returns the converted value (e.g. amount in target unit), or for hex/int conversions the equivalent representation, or for checksum operations the EIP-55 checksummed Ethereum address and a validity flag.","failureModes":["Missing required 'op' query parameter returns an error","Invalid 'op' value outside enum (units/checksum/hex) returns an error","For op=units, missing 'from', 'to', or 'value' returns an error","For op=checksum, missing or malformed 'address' parameter returns an error","For op=hex, missing 'value' returns an error","Non-numeric value where a number is expected causes a parse error","Payment not provided or insufficient (x402 payment required)"],"whenToPreferThis":"Use this endpoint when an AI agent needs to perform Ethereum-specific unit conversions (wei/gwei/ether or arbitrary ERC-20 decimals), hex-to-int or int-to-hex numeric transformations, or needs to compute or validate an EIP-55 checksummed address — tasks that are frequently needed in blockchain transaction workflows without requiring a full Ethereum node or Web3 library.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:48:31.177Z","isFirstParty":false}