Skip to main content
Subscribe to a topic to receive events. The Relayer acknowledges the subscription and starts pushing data immediately.

Endpoint

wss://relayer.xoxno.com/ws

Body

action
string
required
Must be "subscribe".
topic
string
required
Topic to subscribe to. Supported topics:
TopicDescriptionDelivery
gasStatsPer-shard gas prices and PPU with percentiles50 ms debounce / 5 s periodic
networkStatsFull network snapshotAdaptive (tracks block time)
accountsAll account deltas network-wideOn each finalized block
address/{bech32}Account deltas + tx status for a specific addressEvent-driven
tx-status/{hash}Status updates for a specific transactionEvent-driven

Response

action
string
"subscribe"
status
string
"ok" on success, "fail" on error.
topic
string
Topic that was subscribed.
reason
string
Present when status is "fail". See the error table below.

Errors

ReasonCause
topic limit reachedConnection has 64 active subscriptions
rate limit exceededMore than 64 control messages in a 5-second window
invalid bech32 address in topicAddress failed bech32 validation
unknown topicTopic matches no supported pattern
{
  "action": "subscribe",
  "topic": "address/erd1qyu5wthldzr8wx5c9ucg8kjagg0jfs53s8nr3zpz3hypefsdd8ssycr6th"
}
{
  "action": "subscribe",
  "status": "ok",
  "topic": "address/erd1qyu5wthldzr8wx5c9ucg8kjagg0jfs53s8nr3zpz3hypefsdd8ssycr6th"
}
{
  "action": "subscribe",
  "status": "fail",
  "reason": "topic limit reached"
}