# CrossChain Token Amount Normalizer

> CrossChain Token Amount Normalizer is a paid API for AI agents from signalharness.ai, paid per call via x402, $0.015/call, status unknown (last checked 2026-09-13).

Normalizes token amounts across multiple blockchains by converting between atomic and decimal representations for specified assets.

## Facts

- Endpoint: POST https://signalharness.ai/api/agent/services/crosschain_token_amount_normalize/invoke
- Price: $0.015/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/crosschain-token-amount-normalizer-2211ef26
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Brb3bzNY081ha3fAk5kYm

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-token-amount-normalizer-2211ef26 -d '<json body>'
```

Example prompt: Normalize 1234567 atomic USDC (eip155:8453/erc20:usdc) on Base to its decimal representation — I need both the atomic and decimal values reconciled across Base, Solana, and Polygon.

## When to prefer this

Use this endpoint when you need to reliably convert between raw on-chain atomic token amounts and human-readable decimal values across multiple chains (Base, Solana, Polygon) in a single call. Prefer this over manual decimal math when dealing with CAIP-19 asset identifiers, cross-chain normalization, or when you need explicit warnings about missing asset metadata. Ideal for DeFi agents, wallet display logic, and cross-chain payment flows.

## Known failure modes

- Missing decimals or asset mappings causes warning-only result with incomplete normalization
- Malformed CAIP-19 asset identifier causes analysis failure
- Unsupported chain or network identifier results in empty or partial analysis
- Invalid JSON in request_json field causes request rejection
- Ambiguous token with no decimal metadata returns warning without decimal value

## 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 result containing the normalized token amounts with both atomic and decimal representations per asset and chain, the analyzed network(s), an evidence scope indicator, and any warnings about missing decimals or asset mappings. Also includes a full receipt with payment metadata, execution IDs, and a SHA-256 result hash for auditability.

## 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": [
    "Decimals and asset mappings must be supplied."
   ],
   "service_id": "crosschain_token_amount_normalize",
   "analysis_json": "{\"amounts\":[{\"asset\":\"eip155:8453/erc20:usdc\",\"atomic\":\"1234567\",\"chain\":\"base\",\"decimal\":\"1.234567\"}]}",
   "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_token_amount_normalize",
   "executionId": "example-execution",
   "startedAtMs": 0,
   "amountAtomic": "15000",
   "resultSha256": "15e7f8acad8f7caed77e510a44223eb1d4f808e4b69226274616d7c3c7941c09",
   "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-token-amount-normalizer-2211ef26/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)
