# minia2a ABI Lookup

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

Looks up ABI (Application Binary Interface) definitions for smart contracts or similar typed interfaces given a contract type, method, and parameter details

## Facts

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

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-abi-lookup-d01540d0
```

Example prompt: Can you look up the ABI definition for the ERC20 'transfer' method using a GET request with query params?

## When to prefer this

Use this endpoint when an agent needs to dynamically resolve smart contract ABI definitions by type and method name without hardcoding interface schemas. Prefer it over static ABI files when working with multiple contract standards or when automating contract interaction pipelines that require on-the-fly interface resolution.

## Known failure modes

- Unknown contract type returns empty or error response
- Invalid method name results in no ABI found
- Malformed query parameters cause a 400-style error
- Service unavailable or payment not processed returns no result
- Unsupported bodyType or output type may yield partial or null response

## How this service works

minia2a service: x402-abi-lookup

## Output

Returns an ABI definition object describing the interface for the requested contract type and method, including parameter types, return types, and method signatures needed for encoding/decoding contract calls.

## 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-abi-lookup-d01540d0/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)
