Sui · Schema

TransactionBlockResponse

Sui TransactionBlockResponse schema

BlockchainMoveWeb3CryptocurrencySmart Contracts

Properties

Name Type Description
balanceChanges arraynull
checkpoint object 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.
confirmedLocalExecution booleannull
digest object
effects object
errors array
events arraynull
objectChanges arraynull
rawEffects array
rawTransaction object BCS encoded [SenderSignedData] that includes input object references returns empty array if `show_raw_transaction` is false
timestampMs object
transaction object Transaction input data
View JSON Schema on GitHub

JSON Schema

TransactionBlockResponse.json Raw ↑
{
  "$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"
        }
      ]
    }
  }
}