Hedera · Schema

ContractState

Distributed LedgerBlockchainDLTHashgraphTransactionsTokensNFTsSmart ContractsEnterprise

Properties

Name Type Description
address object
contract_id object
timestamp object
slot string The hex encoded storage slot.
value string The hex encoded value to the slot. `0x` implies no value written.
View JSON Schema on GitHub

JSON Schema

ContractState.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/hedera/refs/heads/main/json-schema/ContractState.json",
  "title": "ContractState",
  "type": "object",
  "required": [
    "address",
    "contract_id",
    "timestamp",
    "slot",
    "value"
  ],
  "properties": {
    "address": {
      "$ref": "#/components/schemas/EvmAddress"
    },
    "contract_id": {
      "$ref": "#/components/schemas/EntityId"
    },
    "timestamp": {
      "$ref": "#/components/schemas/Timestamp"
    },
    "slot": {
      "description": "The hex encoded storage slot.",
      "format": "binary",
      "example": "0x00000000000000000000000000000000000000000000000000000000000000fa",
      "type": "string"
    },
    "value": {
      "description": "The hex encoded value to the slot. `0x` implies no value written.",
      "example": "0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925",
      "format": "binary",
      "type": "string"
    }
  }
}