Blockchain.com · Schema

ExchangeSubscribeSymbolActionPayload

ExchangeSubscribeSymbolActionPayload schema from Blockchain.com WebSocket APIs

CryptocurrencyBitcoinBlockchain DataExchangeMarket DataTradingPaymentsPublic APIs

Properties

Name Type Description
action string
channel string
symbol string Exchange symbol identifier, e.g. "BTC-USD".
View JSON Schema on GitHub

JSON Schema

com-exchange-subscribe-symbol-action-payload-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/blockchain/refs/heads/main/json-schema/com-exchange-subscribe-symbol-action-payload-schema.json",
  "title": "ExchangeSubscribeSymbolActionPayload",
  "description": "ExchangeSubscribeSymbolActionPayload schema from Blockchain.com WebSocket APIs",
  "type": "object",
  "properties": {
    "action": {
      "type": "string",
      "enum": [
        "subscribe",
        "unsubscribe"
      ]
    },
    "channel": {
      "type": "string",
      "enum": [
        "l2",
        "l3",
        "ticker",
        "trades"
      ]
    },
    "symbol": {
      "type": "string",
      "description": "Exchange symbol identifier, e.g. \"BTC-USD\"."
    }
  },
  "required": [
    "action",
    "channel",
    "symbol"
  ]
}