Skip to main content

Before You Start

You need an API key. Head to txshield.xyz/ApiRef, connect your wallet, and generate one free — takes 30 seconds.
Base URL: https://api.txshield.xyz
All analysis endpoints: POST with JSON body
Required payload for all EVM endpoints: { targetContractAddress, chainId }

Your First Request — EVM Token Analysis

This single call runs simulation + bytecode analysis + transaction history in one shot.
What you get back:
Even though simulateResult.success is true here, the byteCodeResult flags a Kill Switch and Hidden Logic. Always check all three result objects — a token can simulate cleanly but still be malicious.

Honeypot Check

timeTravelResults simulates the token’s behavior across three future time windows. A token with 0% tax now may show 99% sell tax at “7 Days” — that’s a time-delayed honeypot.

Supported Chain IDs


Response Structure — Every Endpoint

Always check success first. If false, read errorReason for the exact failure.

Rate Limits

Exceeded your limit? You’ll receive a 429 response. Contact us for a partner tier key with higher limits.

Authentication

How API key auth works and how to pass your key correctly.

EVM Simulation

Full simulation endpoint reference with all response fields explained.

Honeypot Detection

Complete honeypot endpoint docs with time-travel analysis explained.

Phishing Detection

Complete Phishing endpoint docs with Allowance drain, permit abuse, and ETH forwarding checks.

Error Reference

All error codes and what they mean.