# Omnichain Pre-Trade Contract & Token Verifier

> Omnichain Pre-Trade Contract & Token Verifier is a paid API for AI agents from piggybank.loth2023ys.workers.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-23).

Returns a list of executable DeFi trade opportunities across 7 chains with pre-trade smart contract and liquidity risk verification

## Facts

- Endpoint: GET https://piggybank.loth2023ys.workers.dev/v1/opportunities?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/omnichain-pre-trade-contract-token-verifier-0fa91148
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_zgLe_LPHz38Wy4vpGNzyb

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 omnichain-pre-trade-contract-token-verifier-0fa91148
```

Example prompt: Scan all supported chains for executable DeFi trade opportunities right now and tell me how many pairs were checked, how many are executable, and what the external caller bounty percentage is.

## When to prefer this

Use this endpoint when an agent needs a quick, paid pre-trade snapshot of executable DeFi opportunities and associated liquidity/contract risk across a broad set of EVM and Solana chains simultaneously, especially when an external caller bounty model is relevant. It is distinct from single-chain analytics tools or post-trade analysis APIs.

## Known failure modes

- Payment failure via x402 if USDC balance is insufficient — returns HTTP 402
- Endpoint may return stale or zero opportunity counts during low-liquidity periods
- Network timeouts possible when aggregating data across 7 chains simultaneously
- Invalid or missing authentication/payment headers return 4xx errors
- Workers.dev cold start may introduce occasional latency spikes

## How this service works

7-chain pre-trade smart contract bytecode, SPL/Token-2022 authority & multi-DEX liquidity risk oracle across Base (8453), Solana, Ethereum (1), Arbitrum (42161), Optimism (10), Polygon (137), and BNB Smart Chain (56). Instant x402 v2 settlement in Base USDC or BSC USDC.

## Output

Returns a JSON object containing: number of token pairs scanned across chains (scannedPairs), the founder wallet address (founderWallet), count of currently executable opportunities (executableNowCount), and the bounty percentage offered to external callers (externalCallerBountyPct).

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "scannedPairs": 21,
  "founderWallet": "0x22f81D88E34cfD05873d0290ee6b426286aDc898",
  "executableNowCount": 0,
  "externalCallerBountyPct": 20
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/omnichain-pre-trade-contract-token-verifier-0fa91148/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from piggybank.loth2023ys.workers.dev](https://www.zero.xyz/host/piggybank.loth2023ys.workers.dev/llms.txt)
