{
  "format": "delx/intent-card/v1",
  "id": "bytes-hex-encode-api",
  "intent": "Bytes Hex Encode for an agent workflow",
  "title": "Bytes Hex Encode API for agents",
  "description": "Encode bounded UTF-8 text to hex or inspect hex byte length without RPC — call when encoding bounded UTF-8 to hex or inspecting hex length. 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": [
    "Bytes Hex Encode API",
    "Bytes Hex Encode for agents",
    "pay per result API",
    "x402 API",
    "no API key"
  ],
  "updated_at": "2026-08-06",
  "canonical_url": "https://commerce.delx.ai/intents/bytes-hex-encode-api",
  "machine_url": "https://commerce.delx.ai/intents/bytes-hex-encode-api.json",
  "recommendation": {
    "tool_name": "util_bytes_hex_encode",
    "service_name": "Delx Bytes Hex Encode",
    "method": "POST",
    "resource": "https://api.delx.ai/api/v1/x402/bytes-hex-encode",
    "price_usdc": "0.003",
    "payment_protocols": [
      "x402",
      "mpp"
    ],
    "input_schema": {
      "type": "object",
      "properties": {
        "text": {
          "description": "UTF-8 text to encode, chunk, index, or analyze (caller-supplied only).",
          "type": "string"
        }
      },
      "required": [],
      "additionalProperties": true
    },
    "example_input": {
      "text": "delx"
    },
    "example_output": {
      "schema": "delx/util-bytes-hex-encode/v1",
      "mode": "text_to_hex",
      "valid": true,
      "byte_length": 4,
      "hex": "0x64656c78",
      "truncated": false
    },
    "agentcash": {
      "buy": "npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/bytes-hex-encode -m POST -H 'x-delx-source: intent-card-bytes-hex-encode-api' --max-amount 0.003 -b '{\"text\":\"delx\"}'",
      "max_amount_usdc": "0.003"
    }
  },
  "attribution": {
    "header": "x-delx-source",
    "value": "intent-card-bytes-hex-encode-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/bytes-hex-encode"
  }
}
