{"uid":"cap_DQtfEnjOWCgFprG3fLA9u","slug":"omnichain-pre-trade-contract-token-verifier-aee09ba5","name":"Omnichain Pre-Trade Contract & Token Verifier","description":"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.","url":"https://piggybank.loth2023ys.workers.dev/v1/verdict?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"input":{"type":"object","required":["address"],"properties":{"ref":{"type":"string","description":"Optional 0x referrer address for automatic 20% CREATE2 vault revenue split on Base (8453) or BSC (56)."},"chain":{"type":"string","default":"auto","description":"Target network: auto (default), base (8453), solana, bsc (56), ethereum (1), arbitrum (42161), optimism (10), or polygon (137)."},"address":{"type":"string","description":"Target 0x EVM token/contract address OR Base58 Solana mint address."}}},"output":{"type":"object"}},"responseSchema":{"type":"json","example":{"chain":"Base","flags":[],"token":{"symbol":"VIRTUAL","decimals":18,"ownershipRenounced":true},"chainId":8453,"verdict":"SAFE_TO_EXECUTE","liquidity":{"totalReserveUsd":1842500.5,"slippage100UsdPct":0.01,"slippage1000UsdPct":0.09},"riskScore":8}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.15","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.15/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.15","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.15","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_AE12Efk8b2lSf8jy39xa0","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.15","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Performs pre-trade safety analysis of smart contracts and tokens across 7 blockchains, returning a risk verdict, liquidity metrics, and token authority flags.","exampleAgentPrompt":"Before I swap $500 worth of VIRTUAL token on Base (chain ID 8453), run a pre-trade safety check on it — I want to see the risk score, whether ownership is renounced, and what the slippage looks like at the $100 and $1000 levels.","exampleUseCases":[{"title":"DeFi bot pre-trade safety gate","prompt":"I'm about to buy a meme token on BNB Smart Chain (chain 56) — can you do a pre-trade check on contract 0xabc123... and tell me the verdict, risk score, and whether liquidity is deep enough for a $1000 trade without bad slippage?"},{"title":"Solana SPL token rug-pull check","prompt":"Before I ape into this Solana token, verify the SPL authority and check if there are any red flags — I need to know if it's safe to execute and what the total liquidity reserve in USD looks like."},{"title":"Arbitrum token ownership audit","prompt":"Can you check if this Arbitrum token at address 0xdef456... has renounced ownership and what risk score it gets? I want to confirm it's SAFE_TO_EXECUTE before I put in a significant position."}],"resultDescription":"Returns a JSON object containing: a verdict string (e.g. SAFE_TO_EXECUTE), an integer risk score (0-10), the chain name and chain ID, token metadata (symbol, decimals, ownershipRenounced), liquidity stats (totalReserveUsd, slippage at $100 and $1000 trade sizes), and an array of risk flags. Enables an agent to make a go/no-go trading decision before executing any on-chain swap.","failureModes":["Unknown or unsupported chain ID returns an error response","Contract address not found on the specified chain returns empty or error verdict","Token with no DEX liquidity may return zero reserve values","Rate limiting or payment failure via x402 protocol returns 402 status","Malformed contract address format causes request rejection","Network RPC timeouts for specific chains may delay or fail the response"],"whenToPreferThis":"Choose this endpoint when an AI agent needs a single API call to get a comprehensive pre-trade risk assessment across any of 7 major chains before executing a DeFi swap or investment. It is preferable over chain-specific tools when the target chain is not known in advance, or when you need combined contract bytecode analysis, token authority verification, and live DEX liquidity data in one response. Especially valuable for autonomous trading agents that must make go/no-go decisions without human oversight.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-23T12:32:45.226Z","isFirstParty":false,"canonicalSlug":"omnichain-pre-trade-contract-token-verifier-7f77a306"}