Transactions Monitoring

Real-time monitoring of on-chain transactions and swap activity with comprehensive P&L tracking and performance analysis.

Overview

The transactions system monitors all on-chain activity for your wallet, including swaps, token transfers, and DeFi operations. It provides real-time insights into transaction status, P&L, and performance metrics.

Real-Time Tracking:

WebSocket streaming for instant updates

Automatic Analysis:

DEX detection, P&L calculation, position linking

Historical Data:

SQLite persistence for auditing and analysis

Transaction Types

Swap Transactions

DEX buy and sell operations

  • Buy: SOL → Token swaps
  • Sell: Token → SOL swaps
  • Router identification (GMGN/Jupiter)
  • DEX execution path tracking
  • Real-time P&L calculation

Token Operations

Account and token management

  • ATA creation and closure
  • Token transfers (incoming/outgoing)
  • Account initialization
  • Balance change tracking
  • Rent reclaim detection

System Activity

Internal bot operations

  • RPC health checks
  • WebSocket heartbeats
  • Service status updates
  • Configuration reloads
  • Database maintenance

Real-Time Monitoring

Multi-Source Transaction Tracking

Transaction monitoring combines multiple data sources for comprehensive coverage and reliability.

1

WebSocket Streaming

Live transaction feed using Solana WebSocket subscriptions. Captures transactions in real-time as they're confirmed on-chain.

2

Bootstrap Scan

Historical transaction import on startup. Fetches recent signature history from RPC to ensure no gaps in tracking.

3

RPC Verification

Confirms transaction details using RPC calls. Fetches complete transaction data including account changes and program logs.

4

Position Integration

Automatically links buy/sell transactions to open positions for accurate entry/exit tracking and P&L calculation.

Transaction Analysis

Comprehensive Transaction Parsing

Each transaction is deeply analyzed to extract actionable insights and accurate financial data.

Balance Changes:

Token balances before/after, SOL spent/received, net changes

P&L Calculation:

Automatic profit/loss for sell transactions based on entry price

DEX Identification:

Detects which DEX executed the swap (Raydium, Orca, Meteora, etc.)

Router Detection:

Identifies routing service (Jupiter V6, GMGN API)

Success Status:

Confirms execution success or parses failure reasons

Fee Breakdown:

Transaction fee, priority fee, and total costs

Slippage Analysis:

Actual vs expected amounts, slippage percentage

Timestamp Tracking:

Block time, processing time, position in block

Transaction Dashboard

View and Filter Transaction History

Time Filters

  • • Last 24 hours
  • • Last 7 days
  • • Last 30 days
  • • Custom date range

Type Filters

  • • Buy swaps only
  • • Sell swaps only
  • • Token transfers
  • • System operations

Search & Sort

  • • By signature
  • • By token address
  • • By amount (SOL)
  • • By P&L

Export Options: Download transaction history as CSV for external analysis, tax reporting, or record keeping.

P&L Tracking

Automatic Profit/Loss Calculation

Per-Transaction P&L

For sell transactions, P&L is calculated by comparing sell price against average entry price from linked position.

  • • Entry price (average if DCA)
  • • Exit price (from swap)
  • • Percentage gain/loss (ROI)
  • • Net SOL profit/loss

Aggregate P&L

View total P&L across all transactions for specific time periods or tokens.

  • • Daily/Weekly/Monthly totals
  • • Per-token performance
  • • Win/Loss ratio analysis
  • • Fee impact on profitability