{"uid":"cap_WElmCZr7VkXZsNwlPPPTK","slug":"delx-commerce-token-raw-to-amount-converter-39d67987","name":"Delx Commerce — Token Raw-to-Amount 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/token-raw-to-amount?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"raw":{"type":"string","description":"Input field: raw."},"decimals":{"type":"integer","description":"Input field: decimals."}}},"responseSchema":{"type":"json","example":{"raw":"1250000","amount":1.25,"schema":"delx/util-token-raw-to-amount/v1","decimals":6}},"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_Bk6Sz1kP2xNutMmtb4-6b","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 a raw blockchain token integer value to a human-readable decimal amount given the token's decimal precision.","exampleAgentPrompt":"Convert the raw token value 1250000 with 6 decimal places to a human-readable amount.","exampleUseCases":[{"title":"Decode USDC payment amount","prompt":"I received a raw USDC value of 5000000 on-chain — can you convert that to the actual dollar amount using 6 decimals?"},{"title":"Display wallet balance in readable form","prompt":"My wallet shows a raw token balance of 750000000 with 9 decimals. What is the actual token amount I should show the user?"},{"title":"Verify transaction value before confirming","prompt":"Before I confirm this transaction, can you convert the raw amount 2500000 with 6 decimals so I know exactly how much USDC is being sent?"}],"resultDescription":"Returns a JSON object containing the original raw value, the computed human-readable decimal amount, the decimals used, and a schema identifier (e.g. {raw: '1250000', amount: 1.25, decimals: 6, schema: 'delx/util-token-raw-to-amount/v1'}).","failureModes":["Missing or invalid 'raw' field returns an error response","Non-integer or negative 'decimals' value may produce incorrect results","Malformed JSON request body results in a 400-level error","Network or payment (x402) failure prevents the computation from completing"],"whenToPreferThis":"Use this endpoint when you need a simple, pay-per-call, no-signup utility to convert raw on-chain token integers to human-readable decimal amounts without building your own conversion logic, especially within an agent workflow that already handles x402 micropayments on Base or Solana.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:54:02.003Z","isFirstParty":false,"canonicalSlug":"delx-commerce-token-raw-to-amount-converter-39d67987"}