{"uid":"cap_o3UoiJt77gYyJnozmN2qi","slug":"agentstools-crypto-unit-converter-address-checksum-d68c51b9","name":"AgentsTools 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://api.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_dN9OxrJTkMOF0_M46cQ68","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 decimals), converts between hex and integer representations, and computes or validates EIP-55 checksummed Ethereum addresses.","exampleAgentPrompt":"Convert 1500000000000000000 wei to ether for me, and also give me the EIP-55 checksummed version of the address 0xd8da6bf26964af9d7eed9e03e53415d37aa96045.","exampleUseCases":null,"resultDescription":"Returns the converted value in the target unit (e.g. ether amount from wei input), or for hex conversion returns the integer or hex equivalent, or for checksum operation returns the EIP-55 checksummed address and whether the original address was valid.","failureModes":["Missing required 'op' query parameter — returns 400 error","Invalid 'op' enum value (not 'units', 'checksum', or 'hex') — returns 400 error","Missing 'value' for op=units or op=hex — returns 400 error","Missing 'address' for op=checksum — returns 400 error","Invalid Ethereum address format for op=checksum — returns validation error","Payment not provided or insufficient — returns 402 Payment Required","Non-numeric value passed where numeric expected — returns 400 error"],"whenToPreferThis":"Use this endpoint when you need lightweight, on-demand Ethereum unit arithmetic (wei↔gwei↔ether or arbitrary decimal token amounts), hex↔integer conversion, or EIP-55 address checksumming without running a local library or full blockchain node. Ideal for AI agents that need quick, trustless utility math for Ethereum data without setting up ethers.js or web3 libraries.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:54:11.410Z","isFirstParty":false}