# SYNTHORA Onchain Primitives

> SYNTHORA Onchain Primitives is a paid API for AI agents from onchain.hergertsynthora.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Multichain blockchain data API for transaction receipts, wallet lookups, ENS resolution, contract detection, and token balances across Base, Ethereum, Polygon, Arbitrum, and Optimism

## Facts

- Endpoint: POST https://onchain.hergertsynthora.com/service
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/synthora-onchain-primitives-2101fc5d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_RkTggF-h6kjX-4Xj3tHlH

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 synthora-onchain-primitives-2101fc5d -d '<json body>'
```

Example prompt: Can you look up the transaction receipt for 0xabc123...def on Base, and also tell me whether the contract at 0x1234...5678 is an EIP-1967 proxy?

## When to prefer this

Choose this endpoint when you need reliable, deterministic, cryptographically-signed onchain data across multiple EVM chains (Base, Ethereum, Polygon, Arbitrum, Optimism) in a single unified API. Ideal for agents that need to verify transactions, inspect contract architecture, resolve ENS names, or check balances without managing multiple RPC providers. The Ed25519-signed responses make it suitable for workflows requiring tamper-evident onchain data.

## Known failure modes

- Invalid or malformed address/hash returns validation error
- ENS name not found or unregistered returns null or not-found response
- Unsupported chain value returns enum validation error
- Transaction hash not found on specified chain returns not-found
- Missing required parameter for the chosen op (e.g. no address for nonce) returns parameter error
- Network timeout or RPC unavailability may cause transient errors
- Insufficient USDC balance or x402 payment failure prevents call execution

## How this service works

Multichain deterministic onchain primitives: transaction receipts, tx lookup, wallet nonce, contract & EIP-1967 proxy detection, ENS resolution, ERC20 and native balances, contract introspection across Base, Ethereum, Polygon, Arbitrum and Optimism. Ed25519-signed. Pay-per-use via x402 USDC on Base.

## Output

Returns deterministic, Ed25519-signed onchain data for the requested operation: transaction receipts and status, transaction details, wallet nonce, contract bytecode presence, proxy implementation addresses (EIP-1967), native ETH/MATIC/etc balances, ERC20 token balances, ENS name-to-address resolutions, and network metadata — all scoped to the specified chain.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "op": {
   "enum": [
    "ens",
    "receipt",
    "tx",
    "nonce",
    "code",
    "proxy",
    "balance",
    "erc20-balance",
    "contract",
    "network"
   ],
   "type": "string",
   "description": "Operation to perform"
  },
  "hash": {
   "type": "string",
   "description": "Tx hash 0x… (receipt/tx)"
  },
  "name": {
   "type": "string",
   "description": "ENS name e.g. vitalik.eth (ens)"
  },
  "chain": {
   "enum": [
    "base",
    "ethereum",
    "polygon",
    "arbitrum",
    "optimism"
   ],
   "type": "string",
   "description": "Chain (default ethereum)"
  },
  "token": {
   "type": "string",
   "description": "ERC20 token address (erc20-balance)"
  },
  "address": {
   "type": "string",
   "description": "Address 0x… (nonce/code/proxy/balance/contract)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "niche": "onchain",
  "result": {
   "op": "ens",
   "name": "vitalik.eth",
   "found": true,
   "signed": "ed25519",
   "address": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/synthora-onchain-primitives-2101fc5d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from onchain.hergertsynthora.com](https://www.zero.xyz/host/onchain.hergertsynthora.com/llms.txt)
