# Betta HalfMoon (BHM) Token Purchase - 1 USDC

> Betta HalfMoon (BHM) Token Purchase - 1 USDC is a paid API for AI agents from bhm.x420.dev, paid per call via x402, $1/call, status unknown (last checked 2026-10-20).

Purchases 1 USDC worth of BHM (Betta HalfMoon) tokens on-chain and returns transaction details including tokens received and transaction hashes

## Facts

- Endpoint: GET https://bhm.x420.dev/api/puff?utm_source=zero.xyz
- Price: $1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/betta-halfmoon-bhm-token-purchase-1-usdc-3979b6be
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_IzES_cqPztWhWa5kWxtOn

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability betta-halfmoon-bhm-token-purchase-1-usdc-3979b6be
```

Example prompt: Buy me 1 USDC worth of BHM (Betta HalfMoon) tokens — the contract is 0x747BB083AF100542010B11F4bf009874Bdf80B07 on x420.dev.

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

Buy 1 USDC worth of BHM tokens 0x747BB083AF100542010B11F4bf009874Bdf80B07

## Output

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).

## Example request

```json
{
 "amount": "1",
 "network": "x420.dev",
 "currency": "USDC",
 "tokenContract": "0x747BB083AF100542010B11F4bf009874Bdf80B07"
}
```

## Response schema (JSON Schema)

```json
{
 "message": "string",
 "tokensReceived": "string",
 "usdcAmountPaid": "string",
 "sendTransactionHash": "string | null",
 "swapTransactionHash": "string | null"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/betta-halfmoon-bhm-token-purchase-1-usdc-3979b6be/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from bhm.x420.dev](https://www.zero.xyz/host/bhm.x420.dev/llms.txt)
