{"uid":"cap_XqDt0OfDOThUCFo601Wzz","slug":"beggar-bot-usdc-amount-converter-1e1f32b3","name":"Beggar Bot USDC Amount Converter","description":"Paid: /v1/verify, /v1/risk, /v1/receipt cost $0.01 USDC per call on Base mainnet via x402 (payTo 0x719227f384b66BFEF00093D6d8d32fA9dC2B40e7); utilities analyze Base mainnet (USDC 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913) by default, network=base-sepolia optional; /v1/receipt/verify and discovery files are free. Operator: Beggar Bot.","url":"https://beggar-bot-demand.beggarbot.workers.dev/v1/usdcamount?utm_source=zero.xyz","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","properties":{"chain":{"type":"string","description":"base (default) or all"},"amount":{"type":"string","description":"decimal e.g. 0.02"},"atomic":{"type":"string","description":"integer e.g. 20000"},"address":{"type":"string","description":"optional 0x address to checksum"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm__QISHfhqVm0j-QF4l3-Fb","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts USDC decimal amounts to/from atomic units (6 decimal places) and returns the canonical USDC contract address, EIP-55 checksum, and EIP-712 domain data per chain for x402 payment flows.","exampleAgentPrompt":"Convert 0.02 USDC to its atomic integer value for a Base mainnet x402 payment, and also give me the EIP-55 checksummed version of this address: 0xabc123def456abc123def456abc123def456abc1","exampleUseCases":[{"title":"Prepare x402 payment amount on Base","prompt":"I need to send exactly 1.50 USDC via x402 on Base — can you convert that to atomic units and give me the canonical USDC contract address for Base mainnet?"},{"title":"Decode atomic amount from payment receipt","prompt":"I got an x402 payment receipt showing 500000 atomic USDC — what is that in human-readable decimal, and which chain does the EIP-712 domain correspond to if I pass chain=base?"},{"title":"Checksum a wallet address for contract call","prompt":"Can you EIP-55 checksum this Ethereum address for me: 0xd8da6bf26964af9d7eed9e03e53415d37aa96045, and confirm the USDC contract address on Base while you're at it?"}],"resultDescription":"A JSON object containing the converted amount in both decimal and atomic (6 dp integer) representations, the native USDC contract address for the requested chain, the EIP-55 checksummed form of any provided address, and the EIP-712 domain struct for USDC on that chain — all computed server-side with no external dependencies.","failureModes":["Missing required query parameter (amount or atomic) returns an error — at least one must be provided","Invalid chain identifier returns an unsupported chain error","Malformed 0x address for checksum returns an invalid address error","Providing both amount and atomic with conflicting values may result in ambiguous response","Non-numeric amount string causes a parse/validation error"],"whenToPreferThis":"Use this endpoint when building x402 payment flows that require precise USDC unit conversion, canonical contract address lookup per chain, EIP-55 address checksumming, or EIP-712 domain data — all in a single pure-compute call. Prefer it over manual calculation to avoid rounding errors in 6 decimal place arithmetic and to get chain-specific USDC metadata without maintaining your own registry.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-02T18:33:16.117Z","isFirstParty":false,"canonicalSlug":"beggar-bot-usdc-amount-converter-1e1f32b3"}