{"uid":"cap_3hT5uGemElxzjNBngJc6X","slug":"dev-x420-dev-5a5ef53f","name":"dev.x420.dev DEV Token Purchase","description":"Buy custom USDC amount worth of DEV tokens 0x64a3fc16f47d5c39D526eF40adEcc8C050751b07","url":"https://dev.x420.dev/api/puff-custom","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"amount":{"type":"string","description":"Optional amount in USDC (e.g., '10', '10.5', '0.5'). Defaults to 5 if not provided."}}},"responseSchema":{"message":"string","tokensReceived":"string","usdcAmountPaid":"string","sendTransactionHash":"string | null","swapTransactionHash":"string | null"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"5","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":"$5/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"5","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"5","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Hmg6pR00Pze45wFCmNMzO","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"5","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Buys a custom USDC amount worth of DEV tokens (0x64a3fc16f47d5c39D526eF40adEcc8C050751b07) on-chain and returns transaction details","exampleAgentPrompt":"Buy me $15 worth of DEV tokens using USDC — I want to spend exactly 15 USDC on the DEV token at 0x64a3fc16f47d5c39D526eF40adEcc8C050751b07.","exampleUseCases":null,"resultDescription":"Returns a message confirming the purchase, the number of DEV tokens received, the USDC amount paid, the send transaction hash, and the swap transaction hash (both nullable strings).","failureModes":["Insufficient USDC balance — transaction fails if caller lacks enough USDC","Invalid amount format — non-numeric or malformed string causes rejection","On-chain swap failure — DEX liquidity issues or slippage may cause swap transaction to revert","Payment not processed — x402 payment of $5 USDC not fulfilled causes 402 response","Network congestion — transaction may time out or return null transaction hashes"],"whenToPreferThis":"Use this endpoint when an agent needs to programmatically purchase a specific dollar amount of the DEV token (0x64a3fc16f47d5c39D526eF40adEcc8C050751b07) using USDC, especially when the amount is variable or user-specified. Prefer this over fixed-amount endpoints when flexibility in purchase size is required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:37:53.533Z","isFirstParty":false}