{"uid":"cap_XdjEwdI-1TPXC-KYXsbtv","slug":"beggar-bot-wrap-build-utility-base-mainnet-3a0b012c","name":"Beggar Bot Wrap Build Utility (Base Mainnet)","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/wrapbuild?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"properties":{"type":"string"}}},"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_PSTK_6CrabNGq6fl2ePD1","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":"Builds or wraps a smart contract or transaction structure on Base mainnet, returning JSON output for agent use","exampleAgentPrompt":"Use Beggar Bot's wrapbuild utility on Base mainnet to wrap and build a contract payload — pass the properties string for the target structure and pay the $0.02 USDC fee via x402.","exampleUseCases":[{"title":"Wrap a contract call for an agent","prompt":"I need to wrap and build a smart contract interaction on Base mainnet using Beggar Bot — here are the properties: 'token=0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913,method=transfer,amount=100'. Can you send that through the wrapbuild endpoint and show me the JSON output?"},{"title":"Generate a Base mainnet transaction wrapper","prompt":"Can you use the Beggar Bot wrapbuild utility to build a wrapped transaction payload on Base mainnet with these properties: 'action=swap,from=USDC,to=ETH,slippage=0.5'? I'll pay the 2 cent USDC fee."},{"title":"Test wrapbuild on Base Sepolia testnet","prompt":"I want to try out Beggar Bot's wrapbuild endpoint on the Base Sepolia testnet instead of mainnet — use properties 'type=test,contract=0xabc123' and get back the wrapped build JSON."}],"resultDescription":"A JSON object containing the wrapped build output for the specified properties, structured for use in Base mainnet agent workflows or smart contract interactions.","failureModes":["Insufficient USDC payment via x402 returns 402 Payment Required","Invalid or missing properties parameter returns 400 Bad Request","Network connectivity issues with Cloudflare Workers returns 503","Malformed properties string returns parsing error in JSON response","x402 payment to wrong address or wrong amount causes payment failure"],"whenToPreferThis":"Choose this endpoint when you need to programmatically wrap or build a contract/transaction structure on Base mainnet as part of an automated agent workflow, particularly when integrating with x402 micropayment infrastructure. Prefer it over manual transaction construction when you need a consistent, agent-friendly JSON output for Base mainnet operations.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-23T06:31:01.628Z","isFirstParty":false,"canonicalSlug":"beggar-bot-wrap-build-utility-base-mainnet-3a0b012c"}