{
  "format": "delx/intent-card/v1",
  "id": "usdc-to-raw-api",
  "intent": "USDC to Raw (6 decimals) for an agent workflow",
  "title": "USDC to Raw (6 decimals) API for agents",
  "description": "Convert USDC human amounts into 6-decimal raw units used on-chain. Call when quoting or building USDC transfers/payments at 6 decimals. Returns raw units string with decimals=6 as deterministic JSON for $0.001 USDC via x402 on Base. First-party local math only—no RPC, live market feed, API keys, storage, or mediagen. Advisory only; the caller owns capital, risk, and production controls.",
  "keywords": [
    "USDC to Raw (6 decimals) API",
    "USDC to Raw (6 decimals) for agents",
    "pay per result API",
    "x402 API",
    "no API key"
  ],
  "updated_at": "2026-08-23",
  "canonical_url": "https://commerce.delx.ai/intents/usdc-to-raw-api",
  "machine_url": "https://commerce.delx.ai/intents/usdc-to-raw-api.json",
  "recommendation": {
    "tool_name": "util_usdc_to_raw",
    "service_name": "USDC to Raw (6 decimals)",
    "method": "POST",
    "resource": "https://api.delx.ai/api/v1/x402/usdc-to-raw",
    "price_usdc": "0.001",
    "payment_protocols": [
      "x402",
      "mpp"
    ],
    "input_schema": {
      "type": "object",
      "properties": {
        "usdc": {
          "description": "Input field: usdc.",
          "type": "number"
        }
      },
      "required": [
        "usdc"
      ],
      "additionalProperties": true
    },
    "example_input": {
      "usdc": 1.5
    },
    "example_output": {
      "schema": "delx/util-usdc-to-raw/v1",
      "usdc": 1.5,
      "raw": "1500000",
      "decimals": 6
    },
    "agentcash": {
      "buy": "npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/usdc-to-raw -m POST -H 'x-delx-source: intent-card-usdc-to-raw-api' --max-amount 0.001 -b '{\"usdc\":1.5}'",
      "max_amount_usdc": "0.001"
    }
  },
  "attribution": {
    "header": "x-delx-source",
    "value": "intent-card-usdc-to-raw-api"
  },
  "evidence": {
    "paid_openapi": "https://api.delx.ai/openapi.x402.json",
    "governed_portfolio": "https://api.delx.ai/x402-portfolio.json",
    "live_contract": "https://api.delx.ai/api/v1/x402/usdc-to-raw"
  }
}
