Skip to main content
WSS
Subscribe
type:object

Start receiving quotes and ready-to-sign transactions for a token pair

Unsubscribe
type:object

Stop a subscription

Ping
type:object

Keep the connection alive. The server answers with pong.

Subscribed
type:object

The subscription is active. Keep the id to match updates and to unsubscribe.

Swap
type:object

New best quote and a fresh unsigned transaction

Unsubscribed
type:object

The subscription has stopped

Pong
type:object

Answer to ping

Error
type:object

A request was rejected, or a subscription could not produce an update. id is set when the error belongs to a subscription.