Cross Chain · x402 V2

Cross-Chain Transaction Complexity Comparison

Use this service when you need this capability: compare transparent structural complexity metrics across supplied chain transactions.

Price and endpoint

LivePOSTBase USDC

0.025 USDC per call

x402 V2 exact payment on Base mainnet (eip155:8453) using USDC. The HTTP 402 challenge confirms the exact requirements before an authorized payment.

POST https://signalharness.ai/api/agent/services/crosschain_complexity_compare/invoke

Purpose

Compare transparent structural complexity metrics across supplied chain transactions.

Caller-supplied data is processed deterministically. These tools do not supply live market feeds, query blockchain RPC, host AI models, or verify that supplied history is complete. Payment remains Base USDC for every chain category.

Inputs

Request fields and validation limits
FieldTypeRequiredLimits
request_jsonstringRequiredMinimum length 2; Maximum length 65536

Example request body

{
  "request_json": "{\"transactions\":[{\"chain\":\"base\",\"amount\":\"2205000\",\"unit\":\"wei\",\"transaction\":{\"hash\":\"0x1111111111111111111111111111111111111111111111111111111111111111\",\"transaction_hash\":\"0x1111111111111111111111111111111111111111111111111111111111111111\",\"from\":\"0x0000000000000000000000000000000000000001\",\"to\":\"0x0000000000000000000000000000000000000002\",\"chain_id\":\"solana\",\"type\":\"0x2\",\"nonce\":\"1\",\"gas_limit\":\"21000\",\"gas_used\":\"21000\",\"base_fee_per_gas\":\"100\",\"max_fee_per_gas\":\"120\",\"max_priority_fee_per_gas\":\"5\",\"effective_gas_price\":\"105\",\"value\":\"0\",\"data\":\"0xa9059cbb00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000064\",\"instructions\":[],\"account_keys\":[]},\"receipt\":{\"transaction_hash\":\"0x1111111111111111111111111111111111111111111111111111111111111111\",\"hash\":\"0x1111111111111111111111111111111111111111111111111111111111111111\",\"from\":\"0x0000000000000000000000000000000000000001\",\"to\":\"0x0000000000000000000000000000000000000002\",\"chain_id\":\"solana\",\"type\":\"0x2\",\"status\":\"0x1\",\"gas_used\":\"21000\",\"effective_gas_price\":\"105\",\"logs\":[{\"address\":\"0x0000000000000000000000000000000000000001\",\"topics\":[\"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef\",\"0x0000000000000000000000000000000000000000000000000000000000000001\",\"0x0000000000000000000000000000000000000000000000000000000000000002\"],\"data\":\"0x0000000000000000000000000000000000000000000000000000000000000064\",\"transaction_hash\":\"0x1111111111111111111111111111111111111111111111111111111111111111\",\"log_index\":0,\"block_number\":1}]}}]}"
}
View complete input schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "additionalProperties": false,
  "minProperties": 1,
  "maxProperties": 1,
  "required": [
    "request_json"
  ],
  "properties": {
    "request_json": {
      "type": "string",
      "minLength": 2,
      "maxLength": 65536
    }
  }
}

Realistic output shape

Illustrative output from the canonical adapter fixture and schema. It is not a completed paid execution or a current live observation.

{
  "service_id": "crosschain_complexity_compare",
  "evidence_scope": "caller_supplied_data",
  "analyzed_network": "solana_base_polygon",
  "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}]}",
  "warnings": [
    "Complexity is not a security rating."
  ]
}
View complete output schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "additionalProperties": false,
  "minProperties": 5,
  "maxProperties": 5,
  "required": [
    "service_id",
    "evidence_scope",
    "analyzed_network",
    "analysis_json",
    "warnings"
  ],
  "properties": {
    "service_id": {
      "type": "string",
      "const": "crosschain_complexity_compare",
      "minLength": 29,
      "maxLength": 29
    },
    "evidence_scope": {
      "type": "string",
      "const": "caller_supplied_data",
      "minLength": 20,
      "maxLength": 20
    },
    "analyzed_network": {
      "type": "string",
      "const": "solana_base_polygon",
      "minLength": 19,
      "maxLength": 19
    },
    "analysis_json": {
      "type": "string",
      "minLength": 2,
      "maxLength": 65536
    },
    "warnings": {
      "type": "array",
      "minItems": 1,
      "maxItems": 8,
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 512
      }
    }
  }
}

Execution limits

  • MaxInputBytes: 70000
  • MaxOutputBytes: 70000
  • MaxConcurrentExecutions: 4
  • MaxArtifacts: 0
  • MaxArtifactBytes: 0
  • RateLimitPerMinute: 30
  • MaxNodes: 12000

Timeout: 15000 ms. Full schemas are in OpenAPI.

Copyable unpaid request

This schema-valid request returns the canonical HTTP 402 challenge without executing the service. A payment-capable client validates the challenge, signs only with prior authority and budget, and retries the identical body.

curl -i -X POST https://signalharness.ai/api/agent/services/crosschain_complexity_compare/invoke \
  -H "Content-Type: application/json" \
  --data '{"request_json":"{\"transactions\":[{\"chain\":\"base\",\"amount\":\"2205000\",\"unit\":\"wei\",\"transaction\":{\"hash\":\"0x1111111111111111111111111111111111111111111111111111111111111111\",\"transaction_hash\":\"0x1111111111111111111111111111111111111111111111111111111111111111\",\"from\":\"0x0000000000000000000000000000000000000001\",\"to\":\"0x0000000000000000000000000000000000000002\",\"chain_id\":\"solana\",\"type\":\"0x2\",\"nonce\":\"1\",\"gas_limit\":\"21000\",\"gas_used\":\"21000\",\"base_fee_per_gas\":\"100\",\"max_fee_per_gas\":\"120\",\"max_priority_fee_per_gas\":\"5\",\"effective_gas_price\":\"105\",\"value\":\"0\",\"data\":\"0xa9059cbb00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000064\",\"instructions\":[],\"account_keys\":[]},\"receipt\":{\"transaction_hash\":\"0x1111111111111111111111111111111111111111111111111111111111111111\",\"hash\":\"0x1111111111111111111111111111111111111111111111111111111111111111\",\"from\":\"0x0000000000000000000000000000000000000001\",\"to\":\"0x0000000000000000000000000000000000000002\",\"chain_id\":\"solana\",\"type\":\"0x2\",\"status\":\"0x1\",\"gas_used\":\"21000\",\"effective_gas_price\":\"105\",\"logs\":[{\"address\":\"0x0000000000000000000000000000000000000001\",\"topics\":[\"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef\",\"0x0000000000000000000000000000000000000000000000000000000000000001\",\"0x0000000000000000000000000000000000000000000000000000000000000002\"],\"data\":\"0x0000000000000000000000000000000000000000000000000000000000000064\",\"transaction_hash\":\"0x1111111111111111111111111111111111111111111111111111111111111111\",\"log_index\":0,\"block_number\":1}]}}]}"}'

Continue with the paid-call walkthrough →