Hedera · Schema
ContractLog
Distributed LedgerBlockchainDLTHashgraphTransactionsTokensNFTsSmart ContractsEnterprise
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/hedera/refs/heads/main/json-schema/ContractLog.json",
"title": "ContractLog",
"allOf": [
{
"$ref": "#/components/schemas/ContractResultLog"
},
{
"type": "object",
"properties": {
"block_hash": {
"description": "The hex encoded block (record file chain) hash",
"example": "0x553f9311833391c0a3b2f9ed64540a89f2190a511986cd94889f1c0cf7fa63e898b1c6730f14a61755d1fb4ca05fb073",
"type": "string"
},
"block_number": {
"description": "The block height calculated as the number of record files starting from zero since network start.",
"example": 10,
"format": "int64",
"type": "integer"
},
"root_contract_id": {
"allOf": [
{
"$ref": "#/components/schemas/EntityId"
},
{
"description": "The executed contract that created this contract log"
}
]
},
"timestamp": {
"$ref": "#/components/schemas/Timestamp"
},
"transaction_hash": {
"type": "string",
"description": "A hex encoded transaction hash",
"example": "0x397022d1e5baeb89d0ab66e6bf602640610e6fb7e55d78638db861e2c6339aa9"
},
"transaction_index": {
"description": "The position of the transaction in the block",
"format": "int32",
"type": [
"integer",
"null"
],
"example": 1
}
}
}
]
}