πRelayer WebSocket API
Connection
wss://relayer.xoxno.com/wsFeatures
Feature
Description
Quick Start
const ws = new WebSocket('wss://relayer.xoxno.com/ws');
ws.onopen = () => {
// Subscribe to gas statistics
ws.send(JSON.stringify({
action: 'subscribe',
topic: 'gasStats'
}));
};
ws.onmessage = (event) => {
const data = JSON.parse(event.data);
console.log('Received:', data);
};Message Protocol
Client Actions
Action
Description
Server Responses
Type
Description
Topics
Gas Statistics
Address Updates
Transaction Status
Limits
Limit
Value
Documentation
Last updated
Was this helpful?