Skip to content
RPC methods like getSignaturesForAddress and getTransaction work for low-volume verification, but production payment systems need more robust infrastructure. This guide covers the core tools and patterns for real-time transaction streaming, historical data access, and instruction-level parsing.

​Why Indexing Matters

Standard RPC has limitations for payment processing at scale:
  • Rate limits: Public and even paid RPC endpoints have query limits
  • No persistence: RPC only gives you current state, not historical analytics
  • Polling overhead: Repeatedly calling getSignaturesForAddress is inefficient
  • Coarse granularity: Pre/post balances don’t reveal individual transfers within complex transactions
Indexing solutions solve these by ingesting blockchain data at the source and exposing it through purpose-built APIs.

​Raw vs Parsed Transaction Data

Before choosing an indexing approach, understand what Solana transactions contain. Raw transaction data uses compact binary encoding—accounts are referenced by indices, and instruction data appears as opaque Base58-encoded bytes:
Parsing is essential for payment systems—you need decimal-adjusted amounts, resolved wallet addresses, and extracted memo fields.

​Yellowstone gRPC

Geyser is Solana’s plugin interface for streaming real-time account and transaction data directly from validators. Instead of polling RPC, you subscribe to a stream that pushes updates as they’re processed—providing sub-100ms latency compared to ~200-400ms for WebSocket subscriptions. Yellowstone gRPC is one of the most widely used implementations of the Geyser plugin interface. Yellowstone is a real-time streaming solution for:
  • Account updates
  • Transactions
  • Entries
  • Block notifications
  • Slot notifications
To use Yellowstone, you will need a gRPC endpoint from an RPC service provider. Some options include:
The Rust example uses yellowstone-grpc-client 17 and yellowstone-grpc-proto 14 with futures and tokio; the TypeScript example uses @triton-one/yellowstone-grpc 10.
Yellowstone returns raw Protocol Buffer data, not JSON. You’ll need to decode binary instruction data using program IDLs or parsing libraries. Let’s explore some options for parsing Yellowstone data.
Resources:

​Carbon

Carbon is a Rust framework for building production indexers built on top of Yellowstone gRPC. Its pipeline architecture connects data sources to decoders to custom processors:
Carbon includes 40+ pre-built decoders for popular programs. For payment systems, the Token Program decoder handles all transfer variants while your processor implements business logic. This processor uses carbon-core and carbon-token-program-decoder 2.0:
Resources:

​Vixen

Yellowstone Vixen is an open-source Rust framework for transforming raw Yellowstone events into structured, typed data. It uses a Parser + Handler architecture:
  • Parsers deserialize raw Solana events into typed structures
  • Handlers execute your business logic on parsed data
  • Pipelines connect parsers to handlers in configurable flows
These snippets use Vixen 0.7. It does not compile against the newest Yellowstone crates, so pin yellowstone-grpc-client and yellowstone-grpc-proto to the versions it was released with:
Cargo.toml
config is a VixenConfig that you read from a TOML file with your gRPC endpoint and token:
Vixen includes built-in parsers for SPL Token and Token-2022, with support for generating parsers from any Solana IDL. For payment monitoring, the token parser gives you typed access to transfers, mints, and account states:
Resources:

​Getting Started

Several RPC providers offer hosted indexing infrastructure. Check solana.com/rpc for a current list of providers offering webhooks, enhanced APIs, and gRPC streaming.