Blockfrost · Schema

drep_updates

drep_updates schema from Blockfrost API

BlockchainCardanoCryptocurrencyDAppsNFTWeb3
View JSON Schema on GitHub

JSON Schema

blockfrost-drep-updates-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/blockfrost/refs/heads/main/json-schema/blockfrost-drep-updates-schema.json",
  "title": "drep_updates",
  "description": "drep_updates schema from Blockfrost API",
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "tx_hash": {
        "type": "string",
        "description": "Transaction ID"
      },
      "cert_index": {
        "type": "integer",
        "description": "Index of the certificate within the update transaction."
      },
      "action": {
        "type": "string",
        "enum": [
          "registered",
          "deregistered",
          "updated"
        ],
        "description": "Action in the certificate"
      }
    },
    "required": [
      "tx_hash",
      "cert_index",
      "action"
    ]
  }
}