Release archive
3.2.9

USD Value Integration & Etherscan Link Generation

Release v3.2.9 focuses on USD Value Integration, Etherscan Link Generation, and Token Balance Formatting.

AddedFixedInternal
USD Value Integration & Etherscan Link Generation

Release digest

Added

  • USD Value Integration 💵 - CoinGecko API for real-time crypto prices
    • ETH/USD prices in check_wallet_balance responses
    • Token prices for ERC20 holdings (USDT, USDC, etc.)
    • Redis caching (5 min TTL) to mitigate CoinGecko rate limits
  • Etherscan Link Generation 🔗 - All Forensic Agent queries include verification links
    • Wallet addresses → https://etherscan.io/address/{address}
    • Transactions → https://etherscan.io/tx/{hash}
    • Contracts → https://etherscan.io/token/{address}
  • Token Balance Formatting 📊 - Human-readable token balances
    • Fixed scientific notation display (21,950,000 vs 2.195E+16)
    • Decimal lookup: USDT (6), USDC (6), default ERC20 (18)
    • Total supply calculation for token holders
    • New response fields: total_balance, decimals, usd_value

Fixed

  • Method Name Error 🔧 - Corrected get_wallet_balancecheck_wallet_balance
  • BigQuery Reserved Keyword 🐛 - Fixed hash column reference in transaction queries

Internal

  • AI System Prompt Enhancement 🧠 - Comprehensive response guidelines
    • Good/Bad response examples embedded in system prompt
    • Mandatory USD value inclusion from data fields
    • Mandatory Etherscan link inclusion for verification
    • Context-rich explanations vs brief answers ("32.11 ETH ($85,098 USD)" not just "32.11 ETH")
    • Blockchain explicitly mentioned in responses
  • Forensic Agent Technical Docs 📝 - Comprehensive v3.2.9 update
    • Added USD Value Integration section with CoinGecko client examples
    • Added Etherscan Link Generation section with implementation patterns
    • Added Token Balance Formatting section with decimal conversion logic
    • Documented rate limiting strategies and caching approach
  • ✅ 4/4 Forensic Agent tools tested via AI Chat
  • ✅ Production verification at sentryanalytic.com/app completed
  • ✅ USD values display correctly
  • ✅ Etherscan links working
  • ✅ Token balances in human-readable format
  • ✅ AI responses comprehensive and context-rich

Technical notes