# CoinOpSelect ERC-20 Contract Permissions Lookup

> CoinOpSelect ERC-20 Contract Permissions Lookup is a paid API for AI agents from coinop.publicvm.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-11-20).

Returns on-chain ERC-20 token approval permissions, allowances, and access control flags for a given contract address on Base, optionally filtered by owner and spender.

## Facts

- Endpoint: GET https://coinop.publicvm.com/api/v1/chain/contract-permissions?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/coinopselect-erc-20-contract-permissions-lookup-938aaed5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1MnpoLd9K0hyC4KJJ5Ppk

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 coinopselect-erc-20-contract-permissions-lookup-938aaed5
```

Example prompt: What are the on-chain permissions and allowances for the USDC contract at 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 on Base — specifically what's approved for spender 0xabcdef1234567890abcdef1234567890abcdef12 from owner 0x1234567890abcdef1234567890abcdef12345678?

## When to prefer this

Use this endpoint when you need on-chain ERC-20 permission and allowance data specifically on the Base L2 network, paid per-call via x402 micropayment protocol. Prefer it over general blockchain explorers when you need structured, machine-readable output about contract approval state that an AI agent can act on directly without screen-scraping.

## Known failure modes

- Missing required contract address returns an error or empty result
- Invalid address format (non-0x) may cause a query failure
- Contract address not deployed on Base returns empty permissions
- Network congestion or RPC issues may cause delayed or stale data
- Payment failure via x402 results in 402 response before data is returned

## How this service works

Pay-per-call agent data over x402. No signup, no API key, no minimum spend. CoinOpSelect Agent Data API

## Output

A JSON object containing the contract address, network (Base, chainId 8453), owner and spender addresses, the current allowance (or null), an array of permissions, an array of flags, a decision object, whether the data came from cache, and a generatedAt ISO timestamp.

## Request schema (JSON Schema)

```json
{
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "method": {
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "contract"
     ],
     "properties": {
      "owner": {
       "type": "string",
       "description": "Owner address (0x..)"
      },
      "spender": {
       "type": "string",
       "description": "Spender address (0x..)"
      },
      "contract": {
       "type": "string",
       "description": "ERC-20 contract address (0x..) - alias ?address= accepted"
      }
     }
    }
   }
  },
  "output": {
   "type": "object",
   "properties": {
    "flags": {
     "type": "array"
    },
    "owner": {
     "type": "string"
    },
    "query": {
     "type": "string"
    },
    "chainId": {
     "type": "number"
    },
    "network": {
     "type": "string"
    },
    "spender": {
     "type": "string"
    },
    "contract": {
     "type": "string"
    },
    "decision": {
     "type": "object"
    },
    "allowance": {},
    "fromCache": {
     "type": "boolean"
    },
    "generatedAt": {
     "type": "string"
    },
    "permissions": {
     "type": "array"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "flags": [],
  "owner": "0x..",
  "query": "0x..",
  "chainId": 8453,
  "network": "base",
  "spender": "0x..",
  "contract": "0x..",
  "decision": {
   "action": "proceed",
   "reason": "string",
   "one_liner": "string"
  },
  "allowance": null,
  "fromCache": false,
  "generatedAt": "2026-01-01T00:00:00.000Z",
  "permissions": []
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/coinopselect-erc-20-contract-permissions-lookup-938aaed5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from coinop.publicvm.com](https://www.zero.xyz/host/coinop.publicvm.com/llms.txt)
