# SignalHarness CrossChain Complexity Compare

> SignalHarness CrossChain Complexity Compare is a paid API for AI agents from signalharness.ai, paid per call via x402, $0.025/call, status unknown (last checked 2026-09-15).

Analyzes and compares the structural complexity of blockchain transactions across multiple chains (Base, Solana, Polygon) and returns scored complexity bands with interpretation.

## Facts

- Endpoint: POST https://signalharness.ai/api/agent/services/crosschain_complexity_compare/invoke
- Price: $0.025/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/signalharness-crosschain-complexity-compare-a2c006e2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Ib0RxSQlnR6tZ7z84Lu_3

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-crosschain-complexity-compare-a2c006e2 -d '<json body>'
```

Example prompt: Can you compare the structural complexity of these transactions across Base and Solana? Here's the transaction data as JSON — I want to know which chain has the lower complexity score and what band each falls into.

## When to prefer this

Choose this endpoint when you need a quantitative, multi-chain structural complexity score for blockchain transactions rather than a security audit or gas estimate. It is specifically suited for comparing transaction complexity across Base, Solana, and Polygon simultaneously, and is useful for routing decisions, pre-audit screening, or research into chain-specific transaction overhead. It does not assess security vulnerabilities — use a dedicated security scanner for that.

## Known failure modes

- Invalid or malformed request_json returns an error
- Unsupported chain identifiers in transaction data may produce incomplete analysis
- Missing transaction fields may result in zero-score outputs with no band classification
- Oversized input exceeding 65536 characters will be rejected
- Network unavailability may cause execution failure with a non-succeeded status

## 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 object containing per-transaction complexity scores, complexity bands (low/medium/high), chain labels, instruction/call/log counts, interpretation labels (e.g. structural_complexity_only), warnings (e.g. 'Complexity is not a security rating'), and the set of networks analyzed. Also includes a receipt with payment metadata and a SHA-256 result hash.

## 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": [
    "Complexity is not a security rating."
   ],
   "service_id": "crosschain_complexity_compare",
   "analysis_json": "{\"transactions\":[{\"band\":\"low\",\"chain\":\"base\",\"counts\":{\"calls\":0,\"inner\":0,\"instructions\":0,\"keys\":0,\"logs\":1},\"index\":0,\"interpretation\":\"structural_complexity_only\",\"network\":\"base\",\"score\":2}]}",
   "evidence_scope": "caller_supplied_data",
   "analyzed_network": "solana_base_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": "crosschain_complexity_compare",
   "executionId": "example-execution",
   "startedAtMs": 0,
   "amountAtomic": "25000",
   "resultSha256": "048258ae53415826a334b2466c10fa580b3cf29a5b54a2b5396b109eb393f4eb",
   "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-crosschain-complexity-compare-a2c006e2/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)
