{"uid":"cap_IzES_cqPztWhWa5kWxtOn","slug":"betta-halfmoon-bhm-token-purchase-1-usdc-3979b6be","name":"Betta HalfMoon (BHM) Token Purchase - 1 USDC","description":"Buy 1 USDC worth of BHM tokens 0x747BB083AF100542010B11F4bf009874Bdf80B07","url":"https://bhm.x420.dev/api/puff?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":null,"responseSchema":{"message":"string","tokensReceived":"string","usdcAmountPaid":"string","sendTransactionHash":"string | null","swapTransactionHash":"string | null"},"example":{"request":{"amount":"1","network":"x420.dev","currency":"USDC","tokenContract":"0x747BB083AF100542010B11F4bf009874Bdf80B07"},"response":{"token":{"name":"Betta HalfMoon","symbol":"BHM","address":"0x747BB083AF100542010B11F4bf009874Bdf80B07","description":"Halfmoom betta lovers"},"message":"Puffed","tokensReceived":"5740026.9113217316641069","usdcAmountPaid":"$1","sendTransactionHash":"0x686d42ecef4596af3a171d1085e46ec1d612aa199e1243ed8d25779b18819128","swapTransactionHash":"0x2c251bfcf8545acfc2fe450fe526d79ab9ab9cd204f7b46840a61e58bca0b1a2"}},"exampleRequest":{"amount":"1","network":"x420.dev","currency":"USDC","tokenContract":"0x747BB083AF100542010B11F4bf009874Bdf80B07"},"tags":["x402"],"displayCostAmount":"1","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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_jeX7OzMDyvHieadIzOVtD","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 BHM (Betta HalfMoon) tokens on-chain and returns transaction details including tokens received and transaction hashes","exampleAgentPrompt":"Buy me 1 USDC worth of BHM (Betta HalfMoon) tokens — the contract is 0x747BB083AF100542010B11F4bf009874Bdf80B07 on x420.dev.","exampleUseCases":[{"title":"Test small BHM token purchase","prompt":"I want to do a small test buy of BHM tokens — just spend 1 USDC to grab some Betta HalfMoon and show me the transaction details so I can confirm everything went through correctly."},{"title":"Acquire BHM for portfolio diversification","prompt":"Add a small position of BHM (Betta HalfMoon) to my crypto holdings — go ahead and swap 1 USDC for BHM tokens on-chain and let me know how many tokens I received and what the transaction hashes were."},{"title":"Automate recurring BHM micro-purchases","prompt":"As part of my dollar-cost averaging strategy, buy 1 USDC worth of Betta HalfMoon tokens right now and give me the full transaction breakdown including the swap hash so I can log it."}],"resultDescription":"Returns a JSON object with a status message, the amount of BHM tokens received, the USDC amount paid, a send transaction hash, and a swap transaction hash (either may be null if the step did not occur).","failureModes":["Insufficient USDC balance or payment failure — payment not processed, tokens not sent","Smart contract swap failure — send transaction succeeds but swap fails, swapTransactionHash may be null","Network congestion or RPC errors causing transaction timeout","Invalid or unreachable token contract — swap cannot be executed","x402 payment authorization failure — API returns 402 without completing purchase"],"whenToPreferThis":"Use this endpoint when an agent needs to programmatically purchase exactly 1 USDC worth of BHM tokens in a single API call with x402 micropayment support. Prefer this over the 5 USDC sibling endpoint when a smaller, lower-risk test purchase or minimal token acquisition is desired.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T00:37:49.622Z","isFirstParty":false,"canonicalSlug":"betta-halfmoon-bhm-token-purchase-1-usdc-3979b6be"}