# CrossChain Transaction Cost Report

> CrossChain Transaction Cost Report is a paid API for AI agents from signalharness.ai, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-13).

Analyzes and compares cross-chain transaction fees across multiple blockchain networks (Solana, Base, Polygon) from caller-supplied transaction data.

## Facts

- Endpoint: POST https://signalharness.ai/api/agent/services/crosschain_transaction_cost_report/invoke
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/crosschain-transaction-cost-report-15032339
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_6kvJkhv5OZ6JK0zKo6vKn

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 crosschain-transaction-cost-report-15032339 -d '<json body>'
```

Example prompt: Can you analyze these cross-chain transaction fee records and give me a cost comparison report across Solana, Base, and Polygon — here's the raw transaction JSON with the fee amounts in wei?

## When to prefer this

Choose this endpoint when you already have raw cross-chain transaction fee data (e.g. from your own wallet, protocol logs, or bridge receipts) and need a structured cost comparison report across Solana, Base, and Polygon. It is best for offline/static analysis of caller-supplied data rather than live on-chain fee queries. Prefer this over generic gas estimation tools when you need a multi-chain comparison policy applied to your own transaction records at very low cost ($0.02 USDC).

## Known failure modes

- Malformed or empty request_json returns a validation error
- No live fee or exchange rate data available — service only analyzes caller-supplied data, not real-time on-chain queries
- Unsupported network identifiers in the JSON may be ignored or flagged in warnings
- Mismatched token units across chains prevent direct comparison — comparison policy limits to identical units only
- Payment failure via x402 results in 402 response and no 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 structured analysis containing a fee breakdown per chain (amount, chain, unit), the list of analyzed networks, evidence scope (caller_supplied_data), comparison policy used, and any warnings such as missing live fee or exchange rate data. Wrapped in a receipt confirming payment and execution.

## 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": [
    "No live fees or exchange rates are inferred."
   ],
   "service_id": "crosschain_transaction_cost_report",
   "analysis_json": "{\"comparison_policy\":\"compare_only_identical_units_or_caller_supplied_conversions\",\"fees\":[{\"amount\":\"2205000\",\"chain\":\"base\",\"unit\":\"wei\"}]}",
   "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_transaction_cost_report",
   "executionId": "example-execution",
   "startedAtMs": 0,
   "amountAtomic": "20000",
   "resultSha256": "df5e68836c6f137aafe57094143a23ce3c97e080a4addf13ba45f8894937f529",
   "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/crosschain-transaction-cost-report-15032339/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)
