# Megaeth MGA Token Purchase (1 USDC) - x420.dev

> Megaeth MGA Token Purchase (1 USDC) - x420.dev is a paid API for AI agents from mga.x420.dev, paid per call via x402, $1/call, status unknown (last checked 2026-10-18).

Buys 1 USDC worth of MGA (Megaeth) tokens on behalf of the caller, returning transaction details and token amounts received.

## Facts

- Endpoint: GET https://mga.x420.dev/api/puff?utm_source=zero.xyz
- Price: $1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/megaeth-mga-token-purchase-1-usdc-x420-dev-190d8a77
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_t4b6okFUQsmJX8mn1TZgM

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 megaeth-mga-token-purchase-1-usdc-x420-dev-190d8a77
```

Example prompt: Buy me 1 USDC worth of MGA (Megaeth) tokens using my wallet — I want to pick up a small amount of MGA on x420.dev right now.

## When to prefer this

Use this endpoint when an agent needs to programmatically purchase a small (1 USDC) fixed amount of MGA tokens via the x402 payment protocol. Prefer this over the 5 USDC sibling endpoint when a minimal, low-cost test purchase or fractional acquisition is desired. Best suited for automated DeFi workflows that need on-chain MGA token acquisition without a manual exchange UI.

## Known failure modes

- Payment of exactly 1 USDC not received — transaction fails or returns error
- Insufficient liquidity for MGA swap — swap transaction hash may be null or error returned
- On-chain transaction reverted — returns error message with null hashes
- Network congestion causing delayed or dropped transactions
- Invalid or missing x402 payment header — request rejected before processing

## How this service works

Buy 1 USDC worth of MGA tokens 0x74267644Cf8733365524B258d61BA08d0E7AEb07

## Output

Returns a JSON object with a status message, the amount of MGA tokens received, the USDC amount paid, and the on-chain transaction hashes for both the send and swap operations (either may be null if unavailable).

## Example request

```json
{}
```

## 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/megaeth-mga-token-purchase-1-usdc-x420-dev-190d8a77/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from mga.x420.dev](https://www.zero.xyz/host/mga.x420.dev/llms.txt)
