# SignalHarness Polygon Contract Interaction Summary

> SignalHarness Polygon Contract Interaction Summary is a paid API for AI agents from signalharness.ai, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-15).

Analyzes a Polygon PoS transaction to extract contract interactions, token transfers, event logs, and function selectors into a structured summary.

## Facts

- Endpoint: POST https://signalharness.ai/api/agent/services/polygon_contract_interaction_summary/invoke
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/signalharness-polygon-contract-interaction-summary-c3c74f5c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_hXGoVXYil14WJlq2VWcFR

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 signalharness-polygon-contract-interaction-summary-c3c74f5c -d '<json body>'
```

Example prompt: Can you analyze Polygon transaction 0xabc123... and give me a breakdown of which contracts were called, what function selectors were used, how many token transfers happened, and a summary of the event logs?

## When to prefer this

Choose this endpoint when you need a structured, machine-readable breakdown of a specific Polygon PoS transaction — particularly for extracting contract addresses, function selectors, and token transfer flows without writing your own decoder. Prefer it over raw RPC calls when you want a pre-parsed summary ready for agent consumption. Best for Polygon mainnet (chain 137) and Amoy testnet (chain 80002). Not suitable for Ethereum mainnet, other EVM chains, or cases where you need intent inference or safety classification.

## Known failure modes

- Invalid or malformed transaction JSON returns an error
- Transaction hash not found on Polygon PoS or Amoy testnet returns empty or error result
- Unsupported chain ID (non-137/80002) may be rejected or produce no network context
- Overly large request_json exceeding 65536 characters returns a validation error
- Payment failure (insufficient USDC balance) prevents execution

## 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 analysis including the transaction hash, list of interacted contract addresses, function selectors called, total call count, token transfer flow with ledger entries and transfer count, event log count, and Polygon network context (chain IDs, bridge model, protocol family). Also includes evidence scope, analyzed network name, and a warnings notice that intent and safety are not inferred.

## 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 infer intent or safety."
   ],
   "service_id": "polygon_contract_interaction_summary",
   "analysis_json": "{\"call_count\":0,\"contracts\":[\"0x0000000000000000000000000000000000000002\",\"0x0000000000000000000000000000000000000001\"],\"flow\":{\"ledger\":[],\"transfer_count\":0},\"log_count\":1,\"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\"},\"selectors\":[\"0xa9059cbb\"],\"to\":\"0x0000000000000000000000000000000000000002\",\"transaction_hash\":\"0x1111111111111111111111111111111111111111111111111111111111111111\",\"value\":\"0\"}",
   "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_contract_interaction_summary",
   "executionId": "example-execution",
   "startedAtMs": 0,
   "amountAtomic": "20000",
   "resultSha256": "bdd1a211145bcb4c12e1903f1d6e6d7085a11e06f0a97ff5597c51aacdd6f869",
   "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/signalharness-polygon-contract-interaction-summary-c3c74f5c/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)
