{"slug":"enclave402-com-api-compute-encode-ea12bd","title":"Encoding and decoding utility","host":"enclave402.com","method":"POST","resource":"https://enclave402.com/api/compute/encode","category":"other","description":"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;","price_listed":0.001,"price_asked":0.001,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":555,"reported_calls_30d":2,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"input":"hello world","operation":"base64-encode"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$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"},"history":[{"day":"2026-09-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.001,"price_match":true,"latency_ms":555,"error":null}],"description_full":"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.","last_updated":"2026-09-20T10:41:33.507Z","schemes":["exact"]}