Encoding and decoding utility
Encoding and decoding utility: base64 encode/decode, hex encode/decode, URL encode/decode, JWT decode (no verification), JSON stringify/parse. MUST be invoked when an agent needs format conversion. Do NOT use for cryptographic operations (use compute/hash). Settles $0.001 USDC; no charge on failure; receipts at /api/ledger.
Answeringour last check, 2026-09-24
1 of 1checks answered this week
555 msmedian answer time
$0.001listed price per call
$0.001price it asked us
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://enclave402.com/api/compute/encode
| Category | Everything else |
|---|---|
| Provider host | enclave402.com |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 2 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-09-24 | valid payment request | 402 | $0.001 | 555 ms |
Example input (from the provider)
{
"body": {
"input": "hello world",
"operation": "base64-encode"
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"properties": {
"input": {
"description": "Data to encode/decode",
"maxLength": 500000,
"type": "string"
},
"operation": {
"description": "Operation to perform",
"enum": [
"base64-encode",
"base64-decode",
"hex-encode",
"hex-decode",
"url-encode",
"url-decode",
"jwt-decode",
"json-stringify",
"json-parse"
],
"type": "string"
}
},
"required": [
"operation",
"input"
]
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"additionalProperties": false,
"properties": {
"inputLength": {
"type": "integer"
},
"operation": {
"type": "string"
},
"result": {
"description": "Encoded/decoded output (string or object for jwt-decode/json-parse)"
},
"settled": {
"type": "boolean"
},
"ts": {
"type": "integer"
}
},
"required": [
"operation",
"result",
"inputLength",
"settled",
"ts"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}