AsyncAPI channel · Blockchain.com · Blockchain.com WebSocket APIs

/mercury-gateway/v1/ws#trading

Authenticated trading channel. Subscribers receive an initial snapshot of live orders and execution-report updates thereafter. The channel supports the following actions: `NewOrderSingle`, `CancelOrderRequest`, `OrderMassCancelRequest`, `OrderMassStatusRequest`. Subscribing with `cancelOnDisconnect: true` causes all live orders to be cancelled if the connection drops; the flag cannot be turned off

Provider: Blockchain.com AsyncAPI: v2.6.0 Spec: Blockchain.com WebSocket APIs Operations: 2 Messages: 9

Channel address

/mercury-gateway/v1/ws#trading

Operations

publish
tradingActions
Subscribe to or interact with the trading channel.
receiveTrading
Receive order snapshots, execution reports and admin events.

Messages

ExchangeTradingSubscribe
Subscribe to the trading channel
Content-Type:
ExchangeNewOrderSingle
NewOrderSingle (create order)
Content-Type:
ExchangeCancelOrderRequest
CancelOrderRequest
Content-Type:
ExchangeOrderMassCancelRequest
OrderMassCancelRequest
Content-Type:
ExchangeOrderMassStatusRequest
OrderMassStatusRequest
Content-Type:
ExchangeAdminEvent
Subscription admin event (subscribed / unsubscribed / rejected)
Content-Type:
ExchangeTradingSnapshot
Snapshot of live orders
Content-Type:
ExchangeExecutionReport
Execution report (order update)
Content-Type:
ExchangeTradingRejected
Trading action rejected
Content-Type:

About AsyncAPI

The AsyncAPI specification describes event-driven APIs the way OpenAPI describes request/response APIs. A channel is the named pipe — a webhook URL, a Kafka topic, a WebSocket route, an MQTT subject — that producers and consumers publish or subscribe to. Each channel carries one or more messages with structured payloads, and an operation declares whether a given party sends or receives on that channel.

Browse every event-driven channel on the APIs.io network or compare with the broader Naftiko capability, Agent Skill, and MCP server surfaces of the same providers.