{
  "format": "delx/intent-card/v1",
  "id": "wei-ether-convert-api",
  "intent": "Wei Ether Convert for an agent workflow",
  "title": "Wei Ether Convert API for agents",
  "description": "Convert between wei and ether using fixed 1e18 scaling without RPC — call when converting wei↔ether with fixed 1e18 scaling. Use for chain input hygiene without live RPC—adjacent to OneSource-class small chain reads, but static/local only so rights and margin stay clear. Returns deterministic machine-readable JSON for $0.003 USDC via x402 on Base. Execution is first-party, local-only, stateless, and memory-only with no paid upstream, no input retention, and no claim of live chain tip, web search, or media generation. Results are advisory; the caller owns authorization and production controls.",
  "keywords": [
    "Wei Ether Convert API",
    "Wei Ether Convert for agents",
    "pay per result API",
    "x402 API",
    "no API key"
  ],
  "updated_at": "2026-08-06",
  "canonical_url": "https://commerce.delx.ai/intents/wei-ether-convert-api",
  "machine_url": "https://commerce.delx.ai/intents/wei-ether-convert-api.json",
  "recommendation": {
    "tool_name": "util_wei_ether_convert",
    "service_name": "Delx Wei Ether Convert",
    "method": "POST",
    "resource": "https://api.delx.ai/api/v1/x402/wei-ether-convert",
    "price_usdc": "0.003",
    "payment_protocols": [
      "x402",
      "mpp"
    ],
    "input_schema": {
      "type": "object",
      "properties": {
        "amount": {
          "description": "Numeric amount to convert (wei count or ether units depending on direction).",
          "type": "number"
        },
        "direction": {
          "description": "wei_to_ether or ether_to_wei.",
          "type": "string"
        }
      },
      "required": [
        "amount"
      ],
      "additionalProperties": true
    },
    "example_input": {
      "amount": 1000000000000000000,
      "direction": "wei_to_ether"
    },
    "example_output": {
      "schema": "delx/util-wei-ether-convert/v1",
      "direction": "wei_to_ether",
      "amount": 1000000000000000000,
      "wei": "1000000000000000000",
      "ether": 1
    },
    "agentcash": {
      "buy": "npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/wei-ether-convert -m POST -H 'x-delx-source: intent-card-wei-ether-convert-api' --max-amount 0.003 -b '{\"amount\":1000000000000000000,\"direction\":\"wei_to_ether\"}'",
      "max_amount_usdc": "0.003"
    }
  },
  "attribution": {
    "header": "x-delx-source",
    "value": "intent-card-wei-ether-convert-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/wei-ether-convert"
  }
}
