Detective Chain Documentation

Detective Chain is a Blockchain Behavior Search Engine built on Solana. Instead of just showing balances and transactions, we analyze behavioral patterns — detecting bots, insiders, coordinated traders, and predicting outcomes based on historical matches.

💡
Core Concept

Traditional blockchain explorers show what happened. Detective Chain shows why it happened and what's likely to happen next.

Platform Features

🔍
Behavior Scanner — Identify entity types and risk levels from transaction patterns
🕵️
Crime Scene Reconstruction — Rebuild the timeline of on-chain events for any token
🧬
Wallet DNA — Generate behavioral fingerprints and find similar entities
🌤️
Network Weather — Real-time activity forecast for the Solana network
📡
Live Detections — Real-time AI risk analysis on trending tokens

🔍 Behavior Scanner

Paste any Solana wallet address. Get instant behavioral analysis.

What It Does

The Behavior Scanner analyzes the last 100 transactions of any wallet and produces a comprehensive behavioral report including:

  • Entity Type Classification — Retail, Bot/MEV, Whale, Coordinated Trader, Distribution Wallet, Insider, NFT Trader
  • Risk Score (0-100) — Higher = more suspicious behavior patterns
  • Bot Probability — Percentage chance the wallet is automated (based on transaction timing)
  • Trading Style Breakdown — What % of activity is swaps, transfers, NFTs, etc.
  • Historical Pattern Matches — Similar wallets from our database and their outcomes
  • Activity Timeline — Recent transactions with parsed descriptions

How Entity Detection Works

Entity TypeDetection Logic
Bot / MEVHigh transaction speed (multiple txns within 5 seconds)
Coordinated Trader40+ unique counterparties AND 30+ swaps
Whale AccumulatorTotal volume > 1000 SOL with 20+ swaps
Distribution WalletTransfers outnumber swaps 3:1
Active TraderSwaps outnumber transfers 3:1
NFT TraderNFT activity exceeds swap count
Retail InvestorDefault — no suspicious patterns detected

When To Use It

  • Before trading a token — check if the deployer's wallet looks suspicious
  • Investigating a rug pull — analyze involved wallets
  • Due diligence on a project team
  • Checking if a wallet that contacted you is a bot or real person

🕵️ Crime Scene Reconstruction

Input a token address. AI reconstructs the complete event timeline.

What It Does

Like a forensic investigator for blockchain — this tool reconstructs what happened to a token from creation to current state:

  • Event Timeline — Token creation, liquidity added, trading start, price movements, suspicious events
  • Verdict — Organic Growth, Coordinated Pump & Dump, Rug Pull, Wash Trading, etc.
  • Entity Mapping — Top holders and their roles (deployer, LP provider, whale, etc.)
  • Impact Assessment — Price change, duration, number of entities involved

Supported Input Types

InputWhat Happens
Token AddressFull token analysis — metadata, DEX pairs, holders, price history
Transaction HashAnalyzes the specific transaction and related activity
Wallet AddressAnalyzes wallet activity as a "crime scene" with timeline

Verdict Types

Probable Rug Pull

Price dropped >70% AND liquidity below $5,000

Major Sell-off

Price dropped >50% in 24 hours

High Centralization Risk

Top holder owns >50% of supply

Organic Growth

No red flags detected — normal trading patterns

When To Use It

  • Investigating a token that crashed — understand what happened
  • Before buying a new token — check for red flags
  • Research and journalism — reconstruct on-chain events
  • Compliance — document what happened for legal/regulatory purposes

🧬 Wallet DNA

Every wallet has a unique behavioral fingerprint.

What It Does

Wallet DNA creates a comprehensive "fingerprint" of any wallet's behavior — like a credit report, but for on-chain activity:

  • Trading Style Profile — Momentum, Arbitrage, Long-term Hold, Meme/Degen, Sniping, DCA
  • Behavior Traits — Bot %, Whale %, Insider %, Speed, Precision, Frequency
  • Reputation Score (0-900) — Like a credit score for blockchain wallets
  • Similar DNA Profiles — Find wallets that behave the same way

Reputation Score Breakdown

FactorWeightDescription
Longevity1.5xHow long the wallet has been active
Counterparty1.0xNumber of unique interactions
Risk (inverse)3.0xLower risk = higher score
Human Behavior1.5xLower bot probability = higher score
Protocol Usage0.8xActive swaps and DeFi participation

Behavior Traits Explained

Trait0-30%30-70%70-100%
🤖 BotHuman-like timingSome automationLikely fully automated
🐋 WhaleSmall playerMid-sizeMajor capital movement
🕵️ InsiderNormal patternsSome suspicious timingFrequent pre-announcement activity
⚡ SpeedCasual traderActiveHigh-frequency trading
🎯 PrecisionBuys and holdsSome sellsSurgical entries and exits
🔄 FrequencyFew transactionsRegular activityConstant trading

When To Use It

  • Understanding your own wallet's on-chain reputation
  • Vetting a counterparty before an OTC deal
  • Finding wallets with similar strategies to follow
  • Building trust scores for lending/DAO participation

🌤️ Network Weather

Real-time activity forecast for the Solana network.

What It Does

Think of it as a weather forecast, but for blockchain activity. Before you trade or deploy, check the "weather" first:

  • Activity Score (0-100) — How busy is the network right now?
  • Status — Normal (🟢), Elevated (🟠), or Extreme (🔴)
  • Volatility Probability — Chance of major price movements in next 30 minutes
  • Signals — TPS, DEX activity, slot time, token launches

Status Levels

StatusScoreMeaningRecommendation
🟢 Normal0-45Low activity, calm marketSafe to trade normally
🟠 Elevated45-70Above average activityBe cautious, set tighter stops
🔴 Extreme70-100Very high activity, likely volatileHigh risk — consider waiting

Signal Meanings

SignalWhat It MeasuresWhy It Matters
TPSTransactions per second on SolanaHigh TPS = busy network, possible congestion
DEX ActivityTrading volume on decentralized exchangesHigh = lots of trading, volatile conditions
Slot TimeAverage time between blocksHigher = network is stressed, txns may delay
Volatility RiskProbability of major price movesHigh = expect sudden pumps or dumps

When To Use It

  • Before executing a large swap — check if conditions are calm
  • Before launching a token — avoid extreme activity periods
  • Monitoring for trading opportunities — extreme = volatility = opportunity
  • Bot developers — adjust parameters based on network conditions

📡 Live Detections

Real-time AI-powered behavioral alerts on trending tokens.

What It Does

Live Detections monitors trending tokens from DexScreener in real-time and runs AI risk analysis on each one:

  • Automatic Scanning — Fetches top 20 boosted tokens every 30 seconds
  • AI Risk Scoring — Each token analyzed for red flags and positive signals
  • Classification — HIGH / MEDIUM / LOW risk badges
  • Filtering — Filter by risk level or chain (Solana only)
  • Detail Modal — Click any card for full AI analysis and risk factors

Risk Factors Analyzed

FactorEffect
Pump.fun token (address ends with 'pump')+18 risk
No/short description+12 risk
Meme keywords (frog, pepe, doge, etc)+10 risk
No social links+15 risk
Hype language (100x, moonshot, etc)+12 risk
Has utility keywords-8 risk
Has website/twitter/telegram-3 to -8 risk
High boost spend (≥$500)-5 risk

When To Use It

  • Monitoring the market for emerging risks in real-time
  • Quick screening of trending tokens before investing
  • Finding projects that pass basic due diligence

🔌 API Reference

All endpoints return JSON. Base URL: https://your-domain.com

Response Format

All endpoints return: { "success": true/false, "data": {...} }. On error: { "success": false, "error": "message" }

Available Endpoints

MethodEndpointDescriptionCache
GET/api/wallet/:addressFull wallet behavioral analysisNo
GET/api/token/:addressToken crime scene reconstructionNo
GET/api/network/weatherNetwork activity forecast15s
GET/api/trendingTrending tokens from DexScreener30s

GET /api/wallet/:address

Analyze any Solana wallet's behavioral patterns.

Parameters

ParamTypeDescription
addressstring (path)Solana wallet address (32-44 characters)

Example Request

GET /api/wallet/vines1vzrYbzLMRdu58ou5XTby4qAqVRLmqo36NKPTg

Response

{
  "success": true,
  "data": {
    "address": "vines1vzrYbzLMRdu58ou5XTby4qAqVRLmqo36NKPTg",
    "entityType": "Distribution Wallet",
    "riskScore": 20,
    "botProbability": 0,
    "tradingStyle": {
      "Swap / DEX": 5,
      "Transfers": 63,
      "NFT Activity": 31,
      "Unique Tokens": 10,
      "Frequency": 40
    },
    "behaviorTraits": {
      "bot": 0,
      "whale": 0,
      "insider": 28,
      "speed": 0,
      "precision": 0,
      "frequency": 40
    },
    "creditScore": 550,
    "timeline": [
      {
        "time": "31/5/2026, 16:20:05",
        "action": "TRANSFER",
        "detail": "E16prL... transferred 0.0001 SOL (via SYSTEM_PROGRAM)"
      }
    ],
    "stats": {
      "totalTransactions": 20,
      "swaps": 1,
      "transfers": 12,
      "nftActivity": 6,
      "uniqueCounterparties": 14,
      "totalVolumeSol": 0.08,
      "tokensBought": 2,
      "tokensSold": 0,
      "solBalance": 0.039,
      "tokensHeld": 15
    },
    "matches": [
      { "pct": 66, "title": "Pattern: Distribution Wallet", "outcome": "neutral", "outcomeText": "Neutral" }
    ]
  }
}

Response Fields

FieldTypeDescription
entityTypestringDetected entity classification
riskScorenumber (0-100)Overall risk assessment
botProbabilitynumber (0-95)Probability wallet is automated
tradingStyleobjectPercentage breakdown of activity types
behaviorTraitsobjectBehavioral characteristic scores
creditScorenumber (0-900)Wallet reputation score
timelinearrayRecent parsed transactions
statsobjectAggregated statistics
matchesarraySimilar pattern matches

GET /api/token/:address

Reconstruct the event timeline for any Solana token.

Parameters

ParamTypeDescription
addressstring (path)SPL token mint address

Example Request

GET /api/token/ATzgiEn7j53myGBLQ1b4cdeMJsbjiXTaiDrsjoFTRv

Response

{
  "success": true,
  "data": {
    "address": "ATzgiEn7j...",
    "tokenMeta": { "content": { "metadata": { "name": "Grokie Inu", "symbol": "GROKIE" } } },
    "dexData": [
      { "baseToken": { "name": "Grokie Inu", "symbol": "GROKIE" }, "priceUsd": "0.0001", "liquidity": { "usd": 12000 }, "volume": { "h24": 5000 } }
    ],
    "holders": [ { "address": "...", "amount": "500000000" } ],
    "timeline": {
      "events": [
        { "time": "Genesis", "action": "Token Created", "detail": "Grokie Inu (GROKIE) deployed", "type": "" },
        { "time": "2026-06-01 10:00", "action": "Liquidity Pair Created", "detail": "raydium · Initial liquidity: $12,000", "type": "success" }
      ],
      "verdict": "Organic Growth",
      "isRug": false,
      "duration": "1440h",
      "entities": 8,
      "impact": "+25.3%",
      "tokenInfo": { "name": "Grokie Inu", "symbol": "GROKIE", "price": "0.0001", "liquidity": 12000, "volume24h": 5000, "marketCap": 100000 }
    }
  }
}

GET /api/network/weather

Get real-time Solana network activity forecast. Cached for 15 seconds.

Example Request

GET /api/network/weather

Response

{
  "success": true,
  "data": {
    "chain": "solana",
    "timestamp": "2026-08-11T06:13:12.633Z",
    "status": "extreme",
    "activityScore": 74,
    "volatilityProbability": 0.5,
    "tps": 2989,
    "slotTime": 423,
    "dexVolume24h": 500000000,
    "topPairsTracked": 7,
    "circulatingSupply": 582481721337970600,
    "signals": {
      "tpsLevel": "high",
      "dexActivity": "medium",
      "networkLoad": "high"
    }
  }
}

Response Fields

FieldTypeDescription
statusstring"normal" | "elevated" | "extreme"
activityScorenumber0-100 — overall network busyness
volatilityProbabilitynumber0.0-0.95 — chance of major price moves
tpsnumberCurrent transactions per second
slotTimenumberAverage slot time in milliseconds
dexVolume24hnumberEstimated DEX trading volume (USD)
topPairsTrackednumberActive Solana trading pairs being monitored
signalsobjectIndividual signal levels (low/medium/high/extreme)

📋 Use Cases

🛡️ For Traders

  • Check a token before buying — run Crime Scene to see if it's a rug
  • Investigate the deployer wallet — run Scanner to check risk
  • Monitor network conditions — check Weather before large swaps

🔬 For Researchers & Journalists

  • Reconstruct on-chain events for investigative reporting
  • Build evidence chains for fraud documentation
  • Map entity relationships across wallets

🏦 For Protocols & DAOs

  • Vet wallets before granting access (use Reputation Score)
  • Require minimum reputation for lending/borrowing
  • Detect sybil attacks via Wallet DNA similarity matching

🤖 For Developers

  • Integrate behavioral intelligence into your app via API
  • Build alerting systems based on Network Weather
  • Create token screening bots using Crime Scene verdicts

📡 Data Sources

SourceUsed ForType
Helius RPCTransaction history, balances, performance samplesSolana RPC
Helius Enhanced APIParsed transaction descriptions, token transfersREST API
Helius DAS APIToken metadata, asset ownershipJSON-RPC
DexScreenerTrading pairs, volume, price changes, trendingREST API
JupiterSwap routing and executionWidget/SDK

⚙️ Rate Limits & Caching

EndpointCache DurationNote
/api/wallet/:addressNoneReal-time — fresh data every request
/api/token/:addressNoneReal-time — fresh data every request
/api/network/weather15 secondsReturns cached data if available
/api/trending30 secondsReturns cached data if available
⚠️
Rate Limit Note

The underlying Helius API has rate limits based on your plan. Free tier: ~10 requests/second. If you see errors, wait a few seconds and retry.