Skip to main content

Authorizations

string
required
Your Helius API key. You can get one for free in the dashboard.

Message

The gRPC API supports multiple subscription types that can be combined in a single request:
object
Subscribe to account updates. Returns data when specified accounts are modified.
object
Subscribe to slot updates.
object
Subscribe to transaction updates.
object
Subscribe to transaction status updates.
object
Subscribe to block updates.
object
Subscribe to block metadata updates (lighter than full block updates).
object
Subscribe to entry updates.
enum
The commitment level for the subscription:
array
Specifies partial account data to receive:
object
Enable ping-pong messages for connection health monitoring.
integer
Starting slot to receive updates from. Updates for slots before this value will be excluded.

Commitment Levels

All subscriptions support the following commitment levels:
  • PROCESSED: Processed by the current node (0)
  • CONFIRMED: Confirmed by supermajority of the cluster (1)
  • FINALIZED: Finalized by the cluster (2)

Response Structure

Subscription responses include:
  • filters: The filter names that matched this update
  • One of the following update types:
    • account: Account data, owner, lamports, executable status, etc.
    • slot: Slot information and status updates
    • transaction: Full transaction details, signature, and metadata
    • transaction_status: Transaction execution status (success/error)
    • block: Complete block data with transactions, accounts, rewards, etc.
    • block_meta: Lightweight block metadata without full transaction details
    • entry: Entry details within a block
    • ping/pong: Connection health check messages
  • created_at: Timestamp when the update was created