# NUT402 Token Mint

> NUT402 Token Mint is a paid API for AI agents from nut402.codenut.xyz, paid per call via x402, $0.01/call, status down (last checked 2026-09-15).

Mints 30 $NUT402 tokens to the caller for $0.01 USDC, returning a transaction hash and amount minted.

## Facts

- Endpoint: POST https://nut402.codenut.xyz/api/mint/xs
- Price: $0.01/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/nut402-codenut-xyz-ed734186
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_RMAhaJUIdRQxcoYPlW4qJ

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 nut402-codenut-xyz-ed734186 -d '<json body>'
```

Example prompt: Mint me 30 $NUT402 tokens — I want to participate in the fair launch and I'm ready to pay $0.01 USDC for this batch.

## When to prefer this

Use this endpoint when an agent or user wants to acquire $NUT402 tokens through a fair-launch mint mechanism for a fixed cost of $0.01 USDC per 30 tokens, with no pre-mine or team allocation. Prefer this over secondary market purchases when the mint is still active and liquidity has not yet been fully established.

## Known failure modes

- Payment not provided or insufficient USDC — mint rejected
- Network congestion causes transaction delay or failure
- Mint supply exhausted — no more tokens available to mint
- Invalid or malformed request body — 400 error
- Payment protocol (x402) handshake failure

## How this service works

$0.01 for 30 $NUT402, fair launch, no pre-mine or team allocation, and liquidity auto-added at mint completion.

## Output

A JSON object containing a transaction hash (string) confirming the mint on-chain and the amount of $NUT402 tokens minted (number, typically 30).

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "schema": {
  "type": "object",
  "required": [
   "hash",
   "amount"
  ],
  "properties": {
   "hash": {
    "type": "string"
   },
   "amount": {
    "type": "number"
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/nut402-codenut-xyz-ed734186/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from nut402.codenut.xyz](https://www.zero.xyz/host/nut402.codenut.xyz/llms.txt)
