{"uid":"cap_06JjZG6S4vrns2ZYjIk2C","slug":"mlg-x420-dev-371b0197","name":"MLG Token Purchase via mlg.x420.dev","description":"Buy 1 USDC worth of MLG tokens 0x0A3006C07808e1BF3b57980Bc73A4B6159fEEB07","url":"https://mlg.x420.dev/api/puff","method":"POST","headers":{},"bodySchema":null,"responseSchema":{"message":"string","tokensReceived":"string","usdcAmountPaid":"string","sendTransactionHash":"string | null","swapTransactionHash":"string | null"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"1","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":"$1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_pNpYp3QFrjbbF8EIfFIlk","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"1","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Purchases 1 USDC worth of MLG ERC-20 tokens (0x0A3006C07808e1BF3b57980Bc73A4B6159fEEB07) and delivers them to the caller","exampleAgentPrompt":"Buy me 1 USDC worth of MLG tokens (contract 0x0A3006C07808e1BF3b57980Bc73A4B6159fEEB07) using my wallet — I want to know how many tokens I'll receive and both the send and swap transaction hashes.","exampleUseCases":[{"title":"Grab some MLG meme tokens","prompt":"Hey, can you buy me 1 USDC worth of those MLG tokens on-chain? Just use my wallet and let me know how many tokens I got and what the transaction hashes look like."},{"title":"Swap stablecoin for MLG","prompt":"I want to swap 1 USDC for MLG tokens right now — go ahead and do the on-chain purchase and send me back the confirmation with the token amount and any transaction hashes."},{"title":"Accumulate MLG tokens automatically","prompt":"As part of my daily crypto routine, buy 1 USDC worth of MLG ERC-20 tokens for me and report back the quantity received along with the swap and send transaction hashes so I can track it."}],"resultDescription":"Returns a confirmation message, the quantity of MLG tokens received, the USDC amount paid, a send transaction hash (or null), and a swap transaction hash (or null) confirming the on-chain swap.","failureModes":["Insufficient USDC balance — payment rejected by x402 facilitator","Invalid or missing x402 payment header — 402 Payment Required response","Token contract unavailable or liquidity insufficient — swap may fail with null swap transaction hash","Network congestion causing transaction timeout","Contract address mismatch or unsupported token pair"],"whenToPreferThis":"Use this endpoint when an agent needs to programmatically purchase exactly 1 USDC worth of the MLG ERC-20 token on-chain via a pay-per-call x402 API, without needing to integrate a full DEX SDK or manage swap routing manually.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:37:03.603Z","isFirstParty":false}