{"uid":"cap_uieilBkKxEvFMwD9EM4x3","slug":"signalharness-token-units-converter-d1ef1dc8","name":"SignalHarness Token Units Converter","description":"Explore 330 pay-per-call x402 API services and 27 agent-native digital products, with Base USDC pricing, secure Polar checkout, and free discovery.","url":"https://signalharness.ai/api/agent/services/token_units_convert/invoke","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"token_units_request":{"type":"string","maxLength":65536,"minLength":2}}},"responseSchema":{"type":"json","example":{"replay":false,"result":{"warnings":["Token decimals are caller supplied and not independently verified."],"service_id":"token_units_convert","evidence_scope":"caller_supplied_data","token_unit_conversion":"{\"atomic\":\"1234567\",\"decimal\":\"1.234567\"}"},"status":"succeeded","receipt":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","usage":[],"status":"succeeded","network":"eip155:8453","artifacts":[],"endedAtMs":0,"latencyMs":0,"paymentId":"example-payment","receiptId":"example-receipt","requestId":"example-request","serviceId":"token_units_convert","executionId":"example-execution","startedAtMs":0,"amountAtomic":"5000","resultSha256":"e00f1c341205a8beaf38f69bfac923c8df292200543ffbe21c701f4979e5c114","serviceVersion":"1.0.0","settlementReference":"0x0000000000000000000000000000000000000000000000000000000000000000"},"artifacts":[],"requestId":"example-request","executionId":"example-execution"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_TTURU5ZoNK2_bQG65j12k","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts token unit representations (e.g. wei to ETH, satoshis to BTC) given a natural-language or structured conversion request string","exampleAgentPrompt":"Can you convert 5000 atomic USDC units on Base into the standard decimal USDC amount for me?","exampleUseCases":[{"title":"Display-ready DeFi balance formatting","prompt":"I have a raw balance of 1500000000 from a USDC contract on Base — can you convert that to a human-readable USDC amount so I can show it to the user?"},{"title":"Cross-chain token unit normalization","prompt":"Convert 250000000000000000 wei into ETH so I can display the correct amount in my wallet UI."},{"title":"Payment amount verification","prompt":"I'm about to send a transaction for 5000 atomic USDC units — what does that equal in standard USDC so I can confirm it's the right amount before submitting?"}],"resultDescription":"Returns a JSON object containing the converted token unit value as a string in 'token_unit_conversion', any warnings about the conversion, the evidence scope indicating the data source was caller-supplied, and a receipt with payment and execution metadata including paymentId, receiptId, latency, and a SHA-256 hash of the result for verification.","failureModes":["Invalid or ambiguous token_units_request string — returns error or unhelpful conversion","Unsupported token type or unit system — may return warnings or empty conversion","Request string too short (below minLength of 2) or too long (above maxLength of 65536) — validation error","Payment failure on x402 micropayment channel — request not processed","Ambiguous denomination with no canonical resolution — warnings populated but conversion may be approximate"],"whenToPreferThis":"Choose this endpoint when an AI agent needs to programmatically convert raw blockchain token amounts (atomic/base units) into human-readable decimal representations, or vice versa, especially for on-chain payment flows where USDC or other ERC-20 token amounts need to be normalized. It is particularly useful in DeFi, wallet, or payment agent workflows where displaying or validating token amounts in the correct unit is critical. Prefer this over manual calculation when the unit system is ambiguous or the agent needs an auditable receipt of the conversion.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T13:06:27.813Z","isFirstParty":false}