{
  "format": "delx/intent-card/v1",
  "id": "eth-to-wei-api",
  "intent": "Ether to Wei Converter for an agent workflow",
  "title": "Ether to Wei Converter API for agents",
  "description": "Scale ether amounts into wei integer strings for transfers and tx value. Call when preparing value fields, allowances, or transfers denominated in ETH. Returns wei integer string and eth input 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": [
    "Ether to Wei Converter API",
    "Ether to Wei Converter for agents",
    "pay per result API",
    "x402 API",
    "no API key"
  ],
  "updated_at": "2026-08-23",
  "canonical_url": "https://commerce.delx.ai/intents/eth-to-wei-api",
  "machine_url": "https://commerce.delx.ai/intents/eth-to-wei-api.json",
  "recommendation": {
    "tool_name": "util_eth_to_wei",
    "service_name": "Ether to Wei Converter",
    "method": "POST",
    "resource": "https://api.delx.ai/api/v1/x402/eth-to-wei",
    "price_usdc": "0.001",
    "payment_protocols": [
      "x402",
      "mpp"
    ],
    "input_schema": {
      "type": "object",
      "properties": {
        "eth": {
          "description": "Input field: eth.",
          "type": "number"
        }
      },
      "required": [
        "eth"
      ],
      "additionalProperties": true
    },
    "example_input": {
      "eth": 0.05
    },
    "example_output": {
      "schema": "delx/util-eth-to-wei/v1",
      "eth": 0.05,
      "wei": "50000000000000000"
    },
    "agentcash": {
      "buy": "npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/eth-to-wei -m POST -H 'x-delx-source: intent-card-eth-to-wei-api' --max-amount 0.001 -b '{\"eth\":0.05}'",
      "max_amount_usdc": "0.001"
    }
  },
  "attribution": {
    "header": "x-delx-source",
    "value": "intent-card-eth-to-wei-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/eth-to-wei"
  }
}
