System Objective
1. System Objective
2. Architectural Principles
3. High-Level Architecture Overview
┌────────────────────┐
│ Blockchain Network │
│ (Node / Indexer) │
└─────────┬──────────┘
│ Transactions
▼
┌──────────────────────────┐
│ Confluent Cloud (Kafka) │
│ - raw-transactions │
│ - enriched-transactions │
│ - fraud-alerts │
└─────────┬────────────────┘
│ Feature Events
▼
┌──────────────────────────┐
│ Stream Processing Layer │
│ (ksqlDB / Kafka Streams) │
│ - Windowed features │
│ - Behavioral metrics │
└─────────┬────────────────┘
│ Feature Vector
▼
┌──────────────────────────┐
│ Google Cloud Run │
│ Fraud Scoring API │
└─────────┬────────────────┘
│ Inference Call
▼
┌──────────────────────────┐
│ Vertex AI │
│ Fraud Detection Model │
└─────────┬────────────────┘
│ Risk Score
▼
┌──────────────────────────┐
│ Decision & Policy Layer │
│ (Cloud Run) │
└─────────┬────────────────┘
│ Alerts / Logs
▼
┌──────────────┬───────────────┐
│ Fraud Alerts │ BigQuery │
│ Dashboard │ Audit / Train │
└──────────────┴───────────────┘Last updated

