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
The WebSocket API allows clients to:
wss://data-api-staging-437363704888.asia-northeast1.run.app/v1/observe_tx
| 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 |
wss://data-api-staging-437363704888.asia-northeast1.run.app/v1/observe_tx?tx_signature=4gL5mR9XJJMZJYDkR4YR...&user_id=user123