The Ranger Data API provides a WebSocket-based real-time transaction monitoring service, allowing clients to observe Solana transactions and receive updates when they are processed. The implementation follows a GraphQL-like subscription protocol and includes features such as automatic timeouts, connection management, and Redis PubSub integration.

Currently the Beta URL is using the data api

wss://data-api-staging-437363704888.asia-northeast1.run.app/v1/observe_tx?tx_signature=4gL5mR9XJJMZJYDkR4YR...&user_id=user123

Table of Contents

WebSocket API Overview

The WebSocket API allows clients to:

Connection Endpoints

wss://data-api-staging-437363704888.asia-northeast1.run.app/v1/observe_tx

Query Parameters

Parameter Type Required Description
tx_signature string Yes The Solana transaction signature to monitor
user_id string No Optional user identifier for analytics and tracking

Example Connection URL

wss://data-api-staging-437363704888.asia-northeast1.run.app/v1/observe_tx?tx_signature=4gL5mR9XJJMZJYDkR4YR...&user_id=user123

Connection Lifecycle

  1. Connection Establishment