Skip to main content

Overview

The TxShield badge gives your users an instant visual risk signal on any token page — no blockchain knowledge required on their end. One API call, one badge, full protection. This is the fastest way to integrate TxShield into a DEX, screener, or token explorer.

What It Looks Like


Quick Integration — Vanilla JavaScript

Drop this into any token page. Replace YOUR_API_KEY and call renderTxShieldBadge() with the token address and chain ID.
Never expose your API key in client-side code in a production environment. Proxy the request through your own backend and keep the key in a server-side environment variable. See the pattern below.

Production Pattern — Backend Proxy

Your frontend calls your own backend. Your backend holds the API key and calls TxShield.

React Component


Deeper Integration

Want to show full risk details on hover, a modal breakdown, or a risk score bar alongside the badge? We can provide UI component templates for your stack. Reach out via X @txshield_ or contactcodecommunity@gmail.com and mention your platform.

Honeypot Endpoint

Full reference for the data powering the badge.

EVM Simulation

Run deeper analysis including bytecode and transaction history.