# OpenTools Calldata Decode

> OpenTools Calldata Decode is a paid API for AI agents from chargers-borders-cedar-fig.trycloudflare.com, paid per call via x402, price unknown, status unknown (last checked 2026-10-23).

Decodes raw calldata from HTTP POST/PUT/PATCH request bodies into human-readable structured form

## Facts

- Endpoint: POST https://chargers-borders-cedar-fig.trycloudflare.com/tools/calldata-decode?utm_source=zero.xyz
- Price: price unknown
- Payment: x402
- Status: unknown
- Last checked: 2026-10-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/opentools-calldata-decode-e2027da2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_zCg1i99YR06maVEjia70F

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability opentools-calldata-decode-e2027da2 -d '<json body>'
```

Example prompt: Can you decode this raw calldata from a POST request body for me? The body is ABI-encoded and I need to see the decoded parameters in a readable format.

## When to prefer this

Use this endpoint when you need to decode raw or ABI-encoded calldata from HTTP POST, PUT, or PATCH request bodies into structured, readable data. It is particularly useful for inspecting smart contract call payloads, debugging encoded API request bodies, or extracting parameters from encoded transaction data.

## Known failure modes

- Missing required 'input' object returns validation error
- Missing required 'type' or 'method' fields returns schema error
- Invalid method value (not POST/PUT/PATCH) returns enum validation failure
- Malformed or unparseable calldata body returns decode error
- Empty or null body when body is expected may return partial or error response

## How this service works

opentools utility endpoint

## Output

Returns a structured, decoded representation of the raw calldata from the HTTP request body, with individual fields and values extracted and presented in a human-readable format.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "body": {
     "type": "object"
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "bodyType": {
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/opentools-calldata-decode-e2027da2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from chargers-borders-cedar-fig.trycloudflare.com](https://www.zero.xyz/host/chargers-borders-cedar-fig.trycloudflare.com/llms.txt)
