Blockdaemon · Schema

Blockdaemon Chain Watch Unified Event

Unified event envelope used by Blockdaemon Chain Watch event-streaming targets.

BlockchainWeb3StakingValidatorsCustodyMPCWalletsNodesRPCDeFiIndexerTokenizationInstitutionalCrypto

Properties

Name Type Description
id string
type string
protocol string
network string
block_number integer
block_hash string
tx_hash string
occurred_at string
rule_id string
target_id string
variable_id string
payload object Event-type-specific payload.
View JSON Schema on GitHub

JSON Schema

blockdaemon-event-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://api-evangelist.github.io/blockdaemon/json-schema/blockdaemon-event-schema.json",
  "title": "Blockdaemon Chain Watch Unified Event",
  "description": "Unified event envelope used by Blockdaemon Chain Watch event-streaming targets.",
  "type": "object",
  "required": ["id", "type", "protocol", "network", "block_number", "occurred_at"],
  "properties": {
    "id": { "type": "string" },
    "type": {
      "type": "string",
      "enum": [
        "unified_block",
        "unified_confirmed_transaction",
        "unified_confirmed_transaction_log",
        "unified_confirmed_transaction_trace",
        "unified_confirmed_balance",
        "unified_event",
        "unified_reorg",
        "unified_staking_reward",
        "unified_staking_status",
        "unified_trustline"
      ]
    },
    "protocol": { "type": "string" },
    "network": { "type": "string" },
    "block_number": { "type": "integer", "minimum": 0 },
    "block_hash": { "type": "string" },
    "tx_hash": { "type": "string" },
    "occurred_at": { "type": "string", "format": "date-time" },
    "rule_id": { "type": "string" },
    "target_id": { "type": "string" },
    "variable_id": { "type": "string" },
    "payload": { "type": "object", "description": "Event-type-specific payload." }
  }
}