Skip to main content
The Decode command (Command Type: 1023) decodes base64+LZ4 or base64+gzip payloads (e.g. Betano/SignalR messages) into JSON. It also unwraps SignalR envelopes including the V3 R field, and is available in all scraper contexts (parse type).

Overview

The Decode command provides functionality for:
  • Decoding base64+LZ4 compressed payloads into JSON
  • Decoding base64+gzip compressed payloads into JSON
  • Unwrapping SignalR envelopes including V3 R field format

Command Type

Command Type ID: 1023

Parameters

ParameterTypeDescriptionRequired
encodingstringThe encoding used to decode the payload. Possible values: "base64+lz4", "base64+gzip"No

Usage Examples

Decode base64+LZ4 Payload

{
  "command": "decode",
  "params": {
    "encoding": "base64+lz4"
  }
}

Decode base64+gzip Payload

{
  "command": "decode",
  "params": {
    "encoding": "base64+gzip"
  }
}

Decode with Auto-detection

{
  "command": "decode",
  "params": {}
}

Common Use Cases

  • SignalR Messages: Decode Betano/SignalR compressed payloads into readable JSON
  • Compressed Responses: Handle LZ4 or gzip compressed binary data from WebSocket or HTTP sources
  • V3 Envelope Unwrapping: Automatically unwrap SignalR V3 R field envelopes