Blockchain.com · JSON Structure

Com Exchange Auth Subscribe Payload Structure

ExchangeAuthSubscribePayload schema from Blockchain.com WebSocket APIs

Type: object Properties: 3 Required: 3
CryptocurrencyBitcoinBlockchain DataExchangeMarket DataTradingPaymentsPublic APIs

ExchangeAuthSubscribePayload is a JSON Structure definition published by Blockchain.com, describing 3 properties, of which 3 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

token action channel

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/blockchain/refs/heads/main/json-structure/com-exchange-auth-subscribe-payload-structure.json",
  "name": "ExchangeAuthSubscribePayload",
  "description": "ExchangeAuthSubscribePayload schema from Blockchain.com WebSocket APIs",
  "type": "object",
  "properties": {
    "token": {
      "type": "string",
      "description": "API secret token."
    },
    "action": {
      "type": "string",
      "const": "subscribe"
    },
    "channel": {
      "type": "string",
      "const": "auth"
    }
  },
  "required": [
    "token",
    "action",
    "channel"
  ]
}