{"uid":"cap_L1AmG2JRsAnr9AaqAaH7N","slug":"delx-base-usdc-decimal-rounding-4e7f5ff5","name":"Delx Base USDC Decimal Rounding","description":"Base USDC Decimal Rounding: Base USDC Decimal Rounding checks whether a decimal USDC amount fits six fractional digits exactly from bounded caller-supplied values without an external provider. Call Base USDC Decimal Rounding before signing, submitting, replacing, or accepting an EVM/Base transaction assembled from caller-owned data. Returns normalized transaction evidence, calculated budget or shape findings, and a fail-closed preflight status for Base USDC Decimal Rounding as versioned determi…","url":"https://api.delx.ai/api/v1/x402/base-usdc-decimal-rounding","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"amount":{"type":"string","maxLength":8192,"description":"Amount supplied to Base USDC Decimal Rounding; used only for this bounded calculation and processed in memory without retention."}}},"responseSchema":{"type":"json","example":{"result":{"raw":"1000","amount":"0.001000","fits_six_decimals":true,"fractional_digits":6},"schema":"delx/util-base-usdc-decimal-rounding/v1","status":"pass","evidence":{"retained":false,"input_sha256":"7df2f11804e0c841c0289c3480df8b5b401744e62702bb9731b22eaac70967ab","external_calls":0},"operation":"evm_preflight:base_usdc_decimal_rounding"}},"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_56H1ejueBH-emS9Q9Pr7L","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":"Rounds or formats a numeric amount to the 6-decimal precision required by Base network USDC, and reports whether the value fits within that precision.","exampleAgentPrompt":"Can you check if the amount '1000' fits within Base USDC's 6-decimal precision and show me the formatted decimal value?","exampleUseCases":[{"title":"Pre-flight USDC payment check","prompt":"Before I send a USDC payment on Base, can you confirm that the amount '500.123456789' fits within six decimal places and give me the correctly formatted value?"},{"title":"Format raw integer for EVM transfer","prompt":"I have a raw amount '2500000' that I need to format as a proper USDC decimal for a Base network transaction — can you run the decimal rounding check on it?"},{"title":"Validate stablecoin amount precision","prompt":"I'm building a DeFi workflow and need to verify that '0.0000001' fits the six-decimal limit used by USDC on Base — can you run that decimal precision check for me?"}],"resultDescription":"Returns a JSON object containing the raw integer representation, the formatted decimal string (e.g. '0.001000'), the number of fractional digits, and a boolean indicating whether the amount fits within USDC's 6-decimal precision. Also includes an audit block with input hash and confirmation that no external calls were made and data was not retained.","failureModes":["Missing or empty 'amount' field returns a validation error","Non-numeric string input may cause a parsing failure","Amount string exceeding 8192 characters is rejected","Malformed JSON body returns a 400-level error"],"whenToPreferThis":"Use this endpoint when you need to validate, format, or preflight a numeric amount specifically for Base network USDC transactions, which enforce 6-decimal precision. Prefer this over generic rounding utilities when you need the EVM-specific integer representation alongside the decimal form and an explicit fits_six_decimals flag for safe on-chain payment preparation.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T07:02:30.084Z","isFirstParty":false}