# Polygon Token Mapping Validator

> Polygon Token Mapping Validator is a paid API for AI agents from signalharness.ai, paid per call via x402, $0.015/call, status unknown (last checked 2026-09-15).

Validates and analyzes Polygon PoS root-to-child token address mappings from caller-supplied data, detecting duplicates and structural issues without querying the official registry.

## Facts

- Endpoint: POST https://signalharness.ai/api/agent/services/polygon_token_mapping_validate/invoke
- Price: $0.015/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/polygon-token-mapping-validator-a2a68372
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-E3eL4F-8tWB0y6N3BcNe

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 polygon-token-mapping-validator-a2a68372 -d '<json body>'
```

Example prompt: Can you validate this Polygon PoS token mapping JSON for me and check if the root address 0xABC...123 maps correctly to child address 0xDEF...456 on chain 137, flagging any duplicates or issues?

## When to prefer this

Choose this endpoint when you need to structurally validate caller-supplied Polygon PoS root-to-child token address mappings without hitting the official Polygon mapping registry. Ideal for pre-deployment checks, duplicate detection, and offline analysis of bridge configurations for chain IDs 137 (mainnet) and 80002 (Amoy testnet). Not suitable if you need authoritative on-chain registry lookups.

## Known failure modes

- Malformed or invalid JSON in request_json field — service may reject or return parse errors
- Incomplete mapping data — warnings issued when official registry is not queried
- Empty or missing address fields — may result in empty mappings array
- Unsupported chain IDs — non-Polygon chains will not be validated correctly
- Oversized input exceeding 65536 character limit — request rejected

## How this service works

Explore 330 pay-per-call x402 API services and 27 agent-native digital products, with Base USDC pricing, secure Polar checkout, and free discovery.

## Output

Returns a JSON object containing a list of analyzed token mappings with root and child addresses, any detected duplicate mappings, network context (accepted chain IDs, bridge model, completion policy, protocol family), validation warnings, evidence scope, and the analyzed network name (polygon). Also includes a service receipt with payment and execution metadata.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "request_json": {
   "type": "string",
   "maxLength": 65536,
   "minLength": 2
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "replay": false,
  "result": {
   "warnings": [
    "Does not query the official mapping registry."
   ],
   "service_id": "polygon_token_mapping_validate",
   "analysis_json": "{\"duplicates\":[],\"mappings\":[{\"child\":\"0x0000000000000000000000000000000000000002\",\"index\":0,\"root\":\"0x0000000000000000000000000000000000000001\"}],\"network_context\":{\"accepted_chain_ids\":[\"137\",\"80002\"],\"bridge_model\":\"root-child state sync plus checkpoint evidence\",\"completion_policy\":\"never inferred without supplied evidence\",\"protocol_family\":\"Polygon PoS\"}}",
   "evidence_scope": "caller_supplied_data",
   "analyzed_network": "polygon"
  },
  "status": "succeeded",
  "receipt": {
   "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
   "usage": [],
   "status": "succeeded",
   "network": "eip155:8453",
   "artifacts": [],
   "endedAtMs": 0,
   "latencyMs": 0,
   "paymentId": "example-payment",
   "receiptId": "example-receipt",
   "requestId": "example-request",
   "serviceId": "polygon_token_mapping_validate",
   "executionId": "example-execution",
   "startedAtMs": 0,
   "amountAtomic": "15000",
   "resultSha256": "7610291e4f9fa697f5f2020ec5c27adbffb3d355a2912e9be237be759d1231e7",
   "serviceVersion": "1.0.0",
   "settlementReference": "0x0000000000000000000000000000000000000000000000000000000000000000"
  },
  "artifacts": [],
  "requestId": "example-request",
  "executionId": "example-execution"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/polygon-token-mapping-validator-a2a68372/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from signalharness.ai](https://www.zero.xyz/host/signalharness.ai/llms.txt)
