# GlianaAI Calldata Decode Tool

> GlianaAI Calldata Decode Tool is a paid API for AI agents from api.glianalabs.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-22).

Decodes raw EVM calldata bytes into human-readable function calls and parameters via a pay-per-call HTTP GET endpoint

## Facts

- Endpoint: GET https://api.glianalabs.com/x402/tools/calldata-decode?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/glianaai-calldata-decode-tool-3b13a7f1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_BevL6Eu9LA8rV0Z5IiWd8

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 glianaai-calldata-decode-tool-3b13a7f1
```

Example prompt: Can you decode this raw EVM calldata for me: 0xa9059cbb000000000000000000000000abcdef1234567890abcdef1234567890abcdef12000000000000000000000000000000000000000000000000002386f26fc10000 — I want to know what function is being called and what the parameters are?

## When to prefer this

Choose this endpoint when you need a lightweight, pay-per-call (no subscription) calldata decoder that accepts raw EVM hex input and returns structured decoded output. Ideal for agents that only occasionally need to decode transactions and want to avoid maintaining their own ABI parsing infrastructure. Useful for cross-chain or multi-protocol scenarios given GlianaAI's broad blockchain data coverage.

## Known failure modes

- Invalid or malformed hex calldata returns a decode error
- Unknown function selector with no matching ABI returns partial decode with only raw bytes
- Empty or missing input body results in a 400 bad request
- Payment not included or insufficient USDC results in 402 Payment Required
- Calldata for a non-standard or custom ABI may not fully decode without ABI context

## How this service works

GlianaAI - Pay-per-call AI models, live market data, SEC filings and identity APIs, no signup, USDC. This resource: tools/calldata-decode. Work out what a transaction actually does, before signing it. https://ai.glianalabs.com

## Output

A JSON response containing the decoded calldata broken into its component parts: the function selector, function name (if ABI is known), and the decoded typed parameters and their values, making the raw hex human-readable.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "calldata": {
   "type": "string",
   "description": "The calldata for this call."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "tool": "tools/calldata-decode"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/glianaai-calldata-decode-tool-3b13a7f1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.glianalabs.com](https://www.zero.xyz/host/api.glianalabs.com/llms.txt)
