Infrastructure

logsSubscribe

A WebSocket subscription method that streams transaction log messages in real time as transactions are processed by the cluster, filterable by 'all' (every transaction), 'allWithVotes' (including vote transactions), or a specific program public key. It is the lowest-latency way for bots and monitoring systems to react to on-chain events emitted via Solana's msg! macro or Anchor's emit! macro without running a full validator or Geyser plugin.

IDlogs-subscribe

Plain meaning

Start with the shortest useful explanation before going deeper.

A WebSocket subscription method that streams transaction log messages in real time as transactions are processed by the cluster, filterable by 'all' (every transaction), 'allWithVotes' (including vote transactions), or a specific program public key. It is the lowest-latency way for bots and monitoring systems to react to on-chain events emitted via Solana's msg! macro or Anchor's emit! macro without running a full validator or Geyser plugin.

Mental model

Use the quick analogy first so the term is easier to reason about when you meet it in code, docs, or prompts.

Think of it as a building block that connects one definition to the larger Solana system around it.

Technical context

Place the term inside its Solana layer so the definition is easier to reason about.

RPCs, validators, snapshots, indexing, and network plumbing.

Why builders care

Turn the term from vocabulary into something operational for product and engineering work.

This term unlocks adjacent concepts quickly, so it works best when you treat it as a junction instead of an isolated definition.

AI handoff

AI handoff

Use this compact block when you want to give an agent or assistant grounded context without dumping the entire page.

logsSubscribe (logs-subscribe)
Category: Infrastructure
Definition: A WebSocket subscription method that streams transaction log messages in real time as transactions are processed by the cluster, filterable by 'all' (every transaction), 'allWithVotes' (including vote transactions), or a specific program public key. It is the lowest-latency way for bots and monitoring systems to react to on-chain events emitted via Solana's msg! macro or Anchor's emit! macro without running a full validator or Geyser plugin.
Related: WebSocket Subscriptions, Program Log (msg! / sol_log)
Glossary Copilot

Ask grounded Solana questions without leaving the glossary.

Use glossary context, relationships, mental models, and builder paths to get structured answers instead of generic chat output.

Explain this code

Optional: paste Anchor, Solana, or Rust code so the Copilot can map primitives back to glossary terms.

Ask a glossary-grounded question

Ask a glossary-grounded question

The Copilot will answer using the current term, related concepts, mental models, and the surrounding glossary graph.

Concept graph

See the term as part of a network, not a dead-end definition.

These branches show which concepts this term touches directly and what sits one layer beyond them.

Branch

WebSocket Subscriptions

A persistent bidirectional connection to a Solana RPC node's WebSocket endpoint (typically on port 8900) that allows clients to receive real-time push notifications when on-chain state changes, rather than polling via HTTP. The subscription model supports account changes, program account changes, slot updates, root changes, signature confirmations, and log emission, each returning a subscription ID used to later unsubscribe.

Branch

Program Log (msg! / sol_log)

Diagnostic output from programs using `msg!()` (Anchor) or `sol_log()` (native). Logs appear in transaction metadata and explorer UIs. Each log call costs compute units (~100 CU base + data length). Logs are limited to 10KB per transaction. Anchor events also emit as base64-encoded log messages.

Next concepts to explore

Keep the learning chain moving instead of stopping at one definition.

These are the next concepts worth opening if you want this term to make more sense inside a real Solana workflow.

Infrastructure

WebSocket Subscriptions

A persistent bidirectional connection to a Solana RPC node's WebSocket endpoint (typically on port 8900) that allows clients to receive real-time push notifications when on-chain state changes, rather than polling via HTTP. The subscription model supports account changes, program account changes, slot updates, root changes, signature confirmations, and log emission, each returning a subscription ID used to later unsubscribe.

Programming Model

Program Log (msg! / sol_log)

Diagnostic output from programs using `msg!()` (Anchor) or `sol_log()` (native). Logs appear in transaction metadata and explorer UIs. Each log call costs compute units (~100 CU base + data length). Logs are limited to 10KB per transaction. Anchor events also emit as base64-encoded log messages.

Infrastructure

Mobile Wallet Adapter (MWA)

An open protocol and SDK that defines a local communication channel (via Android intents and a localhost WebSocket) between mobile dApps and Solana wallet apps installed on the same device, allowing dApps to request transaction signing and message signing without exposing private keys. MWA v2 supports authorization scoping, chain-agnostic signing, and session caching, and is the standard integration layer used by Phantom, Solflare, and other mobile Solana wallets.

Infrastructure

LaserStream

A Helius proprietary ultra-low-latency streaming product built on Geyser plugin infrastructure that delivers real-time transaction and account update notifications directly from validator nodes to subscribers, targeting sub-10ms delivery latency from transaction processing to client receipt. LaserStream is positioned for latency-critical applications such as liquidation bots, arbitrage systems, and real-time portfolio trackers that need faster and more reliable data delivery than standard WebSocket subscriptions.

Commonly confused with

Terms nearby in vocabulary, acronym, or conceptual neighborhood.

These entries are easy to mix up when you are reading quickly, prompting an LLM, or onboarding into a new layer of Solana.

Infrastructurelaserstream

LaserStream

A Helius proprietary ultra-low-latency streaming product built on Geyser plugin infrastructure that delivers real-time transaction and account update notifications directly from validator nodes to subscribers, targeting sub-10ms delivery latency from transaction processing to client receipt. LaserStream is positioned for latency-critical applications such as liquidation bots, arbitrage systems, and real-time portfolio trackers that need faster and more reliable data delivery than standard WebSocket subscriptions.

Related terms

Follow the concepts that give this term its actual context.

Glossary entries become useful when they are connected. These links are the shortest path to adjacent ideas.

Infrastructurewebsocket

WebSocket Subscriptions

A persistent bidirectional connection to a Solana RPC node's WebSocket endpoint (typically on port 8900) that allows clients to receive real-time push notifications when on-chain state changes, rather than polling via HTTP. The subscription model supports account changes, program account changes, slot updates, root changes, signature confirmations, and log emission, each returning a subscription ID used to later unsubscribe.

Programming Modellog

Program Log (msg! / sol_log)

Diagnostic output from programs using `msg!()` (Anchor) or `sol_log()` (native). Logs appear in transaction metadata and explorer UIs. Each log call costs compute units (~100 CU base + data length). Logs are limited to 10KB per transaction. Anchor events also emit as base64-encoded log messages.

More in category

Stay in the same layer and keep building context.

These entries live beside the current term and help the page feel like part of a larger knowledge graph instead of a dead end.

Infrastructure

RPC (Remote Procedure Call)

The JSON-RPC 2.0 protocol interface through which clients communicate with Solana nodes to query chain state, submit transactions, and subscribe to events. Solana exposes a rich set of HTTP and WebSocket endpoints (e.g., getAccountInfo, sendTransaction) that abstract direct peer-to-peer network participation, making RPC the primary integration point for wallets, dApps, and indexers.

Infrastructure

RPC Node

A Solana full node that stores ledger state and serves JSON-RPC and WebSocket requests from clients without participating in consensus or voting. RPC nodes must replay every transaction to maintain an accurate account state database, and high-throughput deployments typically run dedicated RPC nodes with large SSDs, high RAM (256 GB+), and high-bandwidth network connections to handle concurrent client load without impacting validator performance.

Infrastructure

RPC Methods

The enumerated JSON-RPC endpoints exposed by Solana nodes, covering account queries (getAccountInfo, getMultipleAccounts, getProgramAccounts), block and transaction retrieval (getBlock, getTransaction), cluster metadata (getEpochInfo, getSlot, getVersion), and transaction submission (sendTransaction, simulateTransaction). Methods accept a Commitment parameter (processed, confirmed, finalized) to control the recency-vs-safety tradeoff of returned data.

Infrastructure

getAccountInfo

An RPC method that returns the complete on-chain state of a single account identified by its base-58 public key, including its lamport balance, owner program, executable flag, rent epoch, and raw data payload encoded as base64 or base58. It is the most fundamental read primitive in Solana development and is called at the specified commitment level, with the data field being null if the account does not exist.