Tezos · Schema

ContractEvent

TezosBlockchainTzKTBaking BadCryptocurrencySmart ContractsNFTTokensDelegationsStakingGovernanceFA1.2FA2WebSocket

Properties

Name Type Description
id integer Internal TzKT id. **[sortable]**
level integer Level of the block, at which the event was emitted. **[sortable]**
timestamp string Timestamp of the block, at which the event was emitted.
contract object Contract emitted the event. Click on the field to expand more details.
codeHash integer Hash of the contract code.
tag string Event tag.
payload object Event payload in human-readable JSON format. **[sortable]**
transactionId integer Internal TzKT id of the transaction operation, caused the event.
type object Michelson type of the payload. **Must be explicitly selected**
rawPayload object Payload in raw Micheline format. **Must be explicitly selected**
View JSON Schema on GitHub

JSON Schema

contractevent.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "ContractEvent",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "id": {
      "type": "integer",
      "description": "Internal TzKT id.  \n**[sortable]**",
      "format": "int32"
    },
    "level": {
      "type": "integer",
      "description": "Level of the block, at which the event was emitted.  \n**[sortable]**",
      "format": "int32"
    },
    "timestamp": {
      "type": "string",
      "description": "Timestamp of the block, at which the event was emitted.",
      "format": "date-time"
    },
    "contract": {
      "description": "Contract emitted the event.  \nClick on the field to expand more details.",
      "oneOf": [
        {
          "$ref": "#/components/schemas/Alias"
        }
      ]
    },
    "codeHash": {
      "type": "integer",
      "description": "Hash of the contract code.",
      "format": "int32"
    },
    "tag": {
      "type": "string",
      "description": "Event tag.",
      "nullable": true
    },
    "payload": {
      "description": "Event payload in human-readable JSON format.  \n**[sortable]**",
      "nullable": true
    },
    "transactionId": {
      "type": "integer",
      "description": "Internal TzKT id of the transaction operation, caused the event.",
      "format": "int64"
    },
    "type": {
      "description": "Michelson type of the payload.  \n**Must be explicitly selected**",
      "nullable": true
    },
    "rawPayload": {
      "description": "Payload in raw Micheline format.  \n**Must be explicitly selected**",
      "nullable": true
    }
  }
}