Api Endpoint

Delx Bytes Hex Encode

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…

Open interactive test console

Offering

Provider
api.delx.ai
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
General Utilities
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://api.delx.ai/api/v1/x402/bytes-hex-encode
MIME type
application/json
First seen
2026-10-16T01:51:30.109Z
Last seen
Tags
X402, Agents, market-backed, chain-primitives-local, local-first

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.003 USDC
Atomic price: 3000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 2
0.003 USDC
Atomic price: 3000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 3
0.003 USDC
Atomic price: 3000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "3000",
    "payTo": "0x9f8bd9875b3E0b632a24A3A7C73f7787175e73A2"
  },
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "3000",
    "payTo": "0x9f8bd9875b3E0b632a24A3A7C73f7787175e73A2"
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "3000",
    "payTo": "28heAMpFkeUJsL7o7apiK4oJwZWq2fUHinRwbgYYsemG"
  }
]

Observed health

Status
Healthy
Latest latency
327 ms
Average latency
632 ms
HTTP status
204
Last checked
Reachability
100% over 14 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "additionalProperties": false,
  "properties": {
    "body": {
      "additionalProperties": true,
      "properties": {
        "text": {
          "description": "UTF-8 text to encode, chunk, index, or analyze (caller-supplied only).",
          "type": "string"
        }
      },
      "required": [],
      "type": "object"
    },
    "bodyType": {
      "const": "json",
      "type": "string"
    },
    "method": {
      "const": "POST",
      "type": "string"
    },
    "type": {
      "const": "http",
      "type": "string"
    }
  },
  "required": [
    "type",
    "bodyType",
    "body"
  ],
  "type": "object"
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "body": {
          "additionalProperties": true,
          "properties": {
            "text": {
              "description": "UTF-8 text to encode, chunk, index, or analyze (caller-supplied only).",
              "type": "string"
            }
          },
          "required": [],
          "type": "object"
        },
        "bodyType": {
          "const": "json",
          "type": "string"
        },
        "method": {
          "const": "POST",
          "type": "string"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "bodyType",
        "body"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "additionalProperties": true,
          "description": "Bounded first-party JSON result; input is processed in memory and not retained.",
          "properties": {
            "byte_length": {
              "type": "integer"
            },
            "hex": {
              "type": "string"
            },
            "mode": {
              "type": "string"
            },
            "schema": {
              "type": "string"
            },
            "truncated": {
              "type": "boolean"
            },
            "valid": {
              "type": "boolean"
            }
          },
          "type": "object"
        },
        "type": {
          "const": "json",
          "type": "string"
        }
      },
      "required": [
        "type",
        "example"
      ],
      "type": "object"
    }
  },
  "required": [
    "input",
    "output"
  ],
  "type": "object"
}