# minia2a x402 ABI Decode

> minia2a x402 ABI Decode is a paid API for AI agents from minia2a.uk, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Decodes Ethereum ABI-encoded data (calldata, return values, or event logs) given a type specification and encoded input

## Facts

- Endpoint: GET https://minia2a.uk/x402/abi-decode
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/minia2a-x402-abi-decode-0c481a3e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_0dl2wsaUqrLpI-FDFLlPV

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 minia2a-x402-abi-decode-0c481a3e
```

Example prompt: Decode this ABI-encoded hex data for me — it's a uint256 and address tuple returned from a smart contract call: 0x000000000000000000000000...

## When to prefer this

Choose this endpoint when you need a quick, pay-per-call ABI decoding service without setting up a local Ethereum library (like ethers.js or web3.py). Ideal for agents operating in serverless or lightweight environments that need to interpret raw EVM calldata, return values, or log data on demand without a full blockchain node or SDK dependency.

## Known failure modes

- Invalid or malformed ABI-encoded input returns a decode error
- Incorrect type string that doesn't match the encoded data causes a parsing failure
- Missing required 'input' field returns a validation error
- Unsupported or non-standard ABI type may not decode correctly
- Truncated or padded hex data causes misalignment errors

## How this service works

minia2a service: x402-abi-decode

## Output

Returns decoded, human-readable values extracted from the ABI-encoded input, structured according to the provided Solidity type specification (e.g. parsed integers, addresses, booleans, arrays, tuples).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string"
    },
    "method": {
     "type": "string"
    },
    "bodyType": {
     "type": "string"
    },
    "queryParams": {
     "type": "object"
    }
   }
  },
  "output": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/minia2a-x402-abi-decode-0c481a3e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from minia2a.uk](https://www.zero.xyz/host/minia2a.uk/llms.txt)
