Skip to content

SurveillanceAnalyzer

SIP Protocol API Reference v0.7.4


SIP Protocol API Reference / SurveillanceAnalyzer

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:21972

SurveillanceAnalyzer - Analyze wallet privacy exposure

import { SurveillanceAnalyzer } from '@sip-protocol/sdk'
const analyzer = new SurveillanceAnalyzer({
heliusApiKey: process.env.HELIUS_API_KEY!,
cluster: 'mainnet-beta',
})
const result = await analyzer.analyze('7xK9...')
console.log(result.privacyScore.overall) // 45
console.log(result.privacyScore.risk) // 'high'

new SurveillanceAnalyzer(config): SurveillanceAnalyzer

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:21975

SurveillanceAnalyzerConfig

SurveillanceAnalyzer

analyze(walletAddress): Promise<FullAnalysisResult>

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:21982

Perform full privacy analysis on a wallet

string

Solana wallet address to analyze

Promise<FullAnalysisResult>

Complete analysis result with all details


quickScore(walletAddress): Promise<{ score: number; risk: "medium" | "critical" | "high" | "low"; topIssue: string | null; }>

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:22011

Get quick privacy score without full analysis

Performs a lighter analysis suitable for real-time display. Uses only the most recent transactions (100 max).

string

Promise<{ score: number; risk: "medium" | "critical" | "high" | "low"; topIssue: string | null; }>