# LuckyMint Single Token Mint

> LuckyMint Single Token Mint is a paid API for AI agents from luckymint.xyz, paid per call via x402, $1/call, status unknown (last checked 2026-09-15).

Mints 1 reward token on Base with randomized chances for a refund or jackpot win, costing $1 USDC per call

## Facts

- Endpoint: POST https://luckymint.xyz/api/mint
- Price: $1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/luckymint-single-token-mint-c3443fc8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4_E5a8iIsCrICBvXIGVht

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 luckymint-single-token-mint-c3443fc8 -d '<json body>'
```

Example prompt: Play one round of LuckyMint lottery on Base for me — use my wallet 0xABC123... and send any win notifications to myemail@example.com.

## When to prefer this

Use this endpoint when the user wants to participate in a single-ticket instant on-chain lottery on Base, minting one reward token at a time with a chance of refund or jackpot. Prefer the sibling 10-mint endpoint for bulk plays. Best for users wanting low-stakes single-entry crypto gambling with on-chain provability.

## Known failure modes

- Invalid or missing wallet address returns error
- Insufficient USDC balance causes payment failure
- Invalid email format for notificationEmail
- Blockchain transaction failure or network congestion returning no transactionHash
- Amount string not parseable or zero causing rejection

## How this service works

🎰 LuckyMint: Mint 1 reward token with chances for refunds and jackpots!

## Output

Returns a success boolean, a unique mint ID, the number of tokens received (as a string), whether a bonus refund was granted, whether the jackpot was won and its amount if so, the transaction hash on Base, and the random seed used for the outcome.

## Example request

```json
{
 "amount": "1",
 "walletAddress": "0x1234567890123456789012345678901234567890",
 "notificationEmail": "zero-qa@agentmail.to"
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "success",
  "transactionHash",
  "tokens",
  "refunded",
  "jackpotWon",
  "mintId",
  "seed"
 ],
 "properties": {
  "seed": {
   "type": "string",
   "description": "Random seed used for the mint"
  },
  "mintId": {
   "type": "number",
   "description": "Unique mint ID"
  },
  "tokens": {
   "type": "string",
   "description": "Number of tokens received"
  },
  "success": {
   "type": "boolean",
   "description": "Whether the mint was successful"
  },
  "refunded": {
   "type": "boolean",
   "description": "Whether a bonus refund was given"
  },
  "jackpotWon": {
   "type": "boolean",
   "description": "Whether the jackpot was won"
  },
  "jackpotAmount": {
   "type": "string",
   "description": "Jackpot amount if won"
  },
  "transactionHash": {
   "type": "string",
   "description": "Blockchain transaction hash"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/luckymint-single-token-mint-c3443fc8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from luckymint.xyz](https://www.zero.xyz/host/luckymint.xyz/llms.txt)
