{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/sui/main/json-schema/TransactionBlockResponse.json",
  "title": "TransactionBlockResponse",
  "description": "Sui TransactionBlockResponse schema",
  "type": "object",
  "required": [
    "digest"
  ],
  "properties": {
    "balanceChanges": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "$ref": "#/components/schemas/BalanceChange"
      }
    },
    "checkpoint": {
      "description": "The checkpoint number when this transaction was included and hence finalized. This is only returned in the read api, not in the transaction execution api.",
      "anyOf": [
        {
          "$ref": "#/components/schemas/BigInt_for_uint64"
        },
        {
          "type": "null"
        }
      ]
    },
    "confirmedLocalExecution": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "digest": {
      "$ref": "#/components/schemas/TransactionDigest"
    },
    "effects": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/TransactionBlockEffects"
        },
        {
          "type": "null"
        }
      ]
    },
    "errors": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "events": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "$ref": "#/components/schemas/Event"
      }
    },
    "objectChanges": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "$ref": "#/components/schemas/ObjectChange"
      }
    },
    "rawEffects": {
      "type": "array",
      "items": {
        "type": "integer",
        "format": "uint8",
        "minimum": 0.0
      }
    },
    "rawTransaction": {
      "description": "BCS encoded [SenderSignedData] that includes input object references returns empty array if `show_raw_transaction` is false",
      "allOf": [
        {
          "$ref": "#/components/schemas/Base64"
        }
      ]
    },
    "timestampMs": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/BigInt_for_uint64"
        },
        {
          "type": "null"
        }
      ]
    },
    "transaction": {
      "description": "Transaction input data",
      "anyOf": [
        {
          "$ref": "#/components/schemas/TransactionBlock"
        },
        {
          "type": "null"
        }
      ]
    }
  }
}