Tezos · Schema

DrainDelegateOperation

TezosBlockchainTzKTBaking BadCryptocurrencySmart ContractsNFTTokensDelegationsStakingGovernanceFA1.2FA2WebSocket
View JSON Schema on GitHub

JSON Schema

draindelegateoperation.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "DrainDelegateOperation",
  "allOf": [
    {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "type": {
          "type": "string",
          "description": "Type of the operation, `drain_delegate`"
        },
        "id": {
          "type": "integer",
          "description": "Unique ID of the operation, stored in the TzKT indexer database",
          "format": "int64"
        },
        "level": {
          "type": "integer",
          "description": "The height of the block from the genesis block, in which the operation was included",
          "format": "int32"
        },
        "timestamp": {
          "type": "string",
          "description": "Datetime of the block, in which the operation was included (ISO 8601, e.g. `2020-02-20T02:40:57Z`)",
          "format": "date-time"
        },
        "block": {
          "type": "string",
          "description": "Hash of the block, in which the operation was included"
        },
        "hash": {
          "type": "string",
          "description": "Hash of the operation"
        },
        "delegate": {
          "description": "Information about the drained delegate",
          "oneOf": [
            {
              "$ref": "#/components/schemas/Alias"
            }
          ]
        },
        "target": {
          "description": "Information about the recipient account",
          "oneOf": [
            {
              "$ref": "#/components/schemas/Alias"
            }
          ]
        },
        "amount": {
          "type": "integer",
          "description": "Amount sent from the drained baker to the target",
          "format": "int64"
        },
        "fee": {
          "type": "integer",
          "description": "Amount sent from the drained baker to the block baker",
          "format": "int64"
        },
        "allocationFee": {
          "type": "integer",
          "description": "The amount of funds burned from the drained baker for account creation (micro tez)",
          "format": "int64"
        },
        "quote": {
          "description": "Injected historical quote at the time of operation",
          "nullable": true,
          "oneOf": [
            {
              "$ref": "#/components/schemas/QuoteShort"
            }
          ]
        }
      }
    }
  ]
}