Skip to content

Transaction Parser #226

Description

@briang123

NOTE: Are we thinking something like this for parsing transactions? Could use some further refinement.

Overview

A Transaction Parser ingests raw on-chain transaction data from Solana and outputs structured, human-readable events. For Neur, this enables improved UX, agent automation, and smarter insights based on wallet activity.


Key Capabilities

1. Human-Readable Activity Feed

  • Converts raw transaction logs into clean summaries.
  • Example:
    • Raw: Program 111111 swapped 0.53 tokens
    • Parsed: Swapped 0.53 $SOL for 45.2 $JUP on Jupiter

2. Trigger Input for Automation

  • Acts as input for Neur agent triggers.
  • Example:
    • "If a transaction > $500 occurs, rebalance wallet"
    • "If user claims an airdrop, auto-sell 20%"

3. Analytics & Personalization

  • Detect patterns in user behavior.
  • Examples:
    • Protocol usage stats
    • Wallet personality traits
    • Most used DeFi actions

4. Search & Filters

  • Filter transaction history by type or protocol.
  • Example queries:
    • "All swaps in the last 30 days"
    • "Show all Raydium LP adds"

Technical Considerations

Data Sources

  • Solana RPC (historical + real-time)
  • Indexers / APIs:
    • Helius API (has built-in transaction parsing)
    • SolanaFM API
    • Birdeye API
    • Solana Beach API

Libraries / Tools

  • @helius-labs/xray (rich parser)
  • @solana/transaction-decoder
  • Custom Solana instruction decoding via program ID maps

Roadmap Value for Neur

Feature Value
Transaction summaries Improves UX, trust, and clarity
Activity triggers Enables smarter on-chain automation
User intelligence Drives personalized DeFi agent behaviors
Event logs Supports notifications and tracking
Search + filters Empowers power users and advanced queries

Example User Story

As a user, I want to see a clear history of what I’ve done on-chain (like swaps, mints, or votes) in plain language, so I can understand my activity and set up automation rules based on it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestA feature considerationpending informationIs not clear enoughroadmapFeature is on the roadmapv1.0Targeting for v1.0 Release

    Projects

    Status
    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions