# 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.2/call, status unknown (last checked 2026-10-23).

Verifies smart contract bytecode, SPL/Token-2022 token authority, and multi-DEX liquidity risk across 7 blockchains before a trade is executed

## Facts

- Endpoint: POST https://piggybank.loth2023ys.workers.dev/v1/batch?utm_source=zero.xyz
- Price: $0.2/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-f0d58783
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ssJ877NgQI1tGdPddwouv

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-f0d58783 -d '<json body>'
```

Example prompt: Before I swap into this token, can you run a pre-trade safety check on these contract addresses — 0xabc...123 on Base and So1ana...xyz on Solana — and tell me if there are any contract red flags, suspicious token authority, or thin liquidity across DEXes?

## When to prefer this

Choose this endpoint when you need pre-trade verification across multiple blockchains simultaneously, especially when assessing both EVM-compatible chains (Base, Ethereum, Arbitrum, Optimism, Polygon, BNB Chain) and Solana in a single call. It is particularly valuable for agents executing DeFi trades that need to check for honeypot contracts, suspicious token authority, or insufficient DEX liquidity before committing funds.

## Known failure modes

- Invalid or malformed contract/token address returns error in results array
- Unsupported chain not among the 7 supported networks may return null or error
- Network congestion or RPC unavailability on a specific chain may cause partial results
- Empty addresses input returns count 0 with empty results
- Payment failure via x402 v2 results in 402 response before processing

## 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 with a count of addresses checked and an array of results per address, including contract bytecode analysis, token authority details (mint/freeze controls for SPL tokens), and multi-DEX liquidity risk indicators across the supported chains (Base, Solana, Ethereum, Arbitrum, Optimism, Polygon, BNB Smart Chain).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "addresses": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "count": 3,
  "results": []
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/omnichain-pre-trade-contract-token-verifier-f0d58783/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)
