Hedera · Schema

ContractResultDetails

Distributed LedgerBlockchainDLTHashgraphTransactionsTokensNFTsSmart ContractsEnterprise
View JSON Schema on GitHub

JSON Schema

ContractResultDetails.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/hedera/refs/heads/main/json-schema/ContractResultDetails.json",
  "title": "ContractResultDetails",
  "allOf": [
    {
      "$ref": "#/components/schemas/ContractResult"
    },
    {
      "type": "object",
      "properties": {
        "access_list": {
          "description": "The access list of the wrapped ethereum transaction",
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/AccessList"
          }
        },
        "address": {
          "description": "The hex encoded evm address of contract",
          "example": "0x25fe26adc577cc89172e6156c9e24f7b9751b762",
          "type": "string"
        },
        "authorization_list": {
          "description": "The authorization list of the wrapped EIP-7702 ethereum transaction",
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/AuthorizationList"
          }
        },
        "block_gas_used": {
          "description": "The total amount of gas used in the block",
          "example": 2000,
          "format": "int64",
          "type": [
            "integer",
            "null"
          ]
        },
        "block_hash": {
          "description": "The hex encoded block (record file chain) hash",
          "example": "0x6ceecd8bb224da491",
          "type": [
            "string",
            "null"
          ]
        },
        "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",
            "null"
          ]
        },
        "chain_id": {
          "description": "The hex encoded chain_id of the wrapped ethereum transaction",
          "type": [
            "string",
            "null"
          ],
          "example": "0x127"
        },
        "failed_initcode": {
          "description": "The hex encoded initcode of a failed contract create transaction",
          "example": "0x856739",
          "type": "string"
        },
        "gas_price": {
          "description": "The hex encoded gas_price of the wrapped ethereum transaction",
          "type": [
            "string",
            "null"
          ],
          "example": "0x4a817c800"
        },
        "hash": {
          "description": "The hex encoded transaction hash",
          "example": "0x3531396130303866616264653464",
          "type": "string"
        },
        "logs": {
          "$ref": "#/components/schemas/ContractResultLogs"
        },
        "max_fee_per_gas": {
          "description": "The hex encoded max_fee_per_gas of the wrapped ethereum transaction",
          "type": [
            "string",
            "null"
          ],
          "example": "0x5"
        },
        "max_priority_fee_per_gas": {
          "description": "The hex encoded max_priority_fee_per_gas of the wrapped ethereum transaction",
          "type": [
            "string",
            "null"
          ],
          "example": "0x100"
        },
        "nonce": {
          "description": "The nonce of the wrapped ethereum transaction",
          "format": "int64",
          "type": [
            "integer",
            "null"
          ],
          "example": 1
        },
        "r": {
          "description": "The hex encoded signature_r of the wrapped ethereum transaction",
          "type": [
            "string",
            "null"
          ],
          "example": "0xd693b532a80fed6392b428604171fb32fdbf953728a3a7ecc7d4062b1652c043"
        },
        "s": {
          "description": "The hex encoded signature_s of the wrapped ethereum transaction",
          "type": [
            "string",
            "null"
          ],
          "example": "0x24e9c602ac800b983b035700a14b23f78a253ab762deab5dc27e3555a750b355"
        },
        "state_changes": {
          "$ref": "#/components/schemas/ContractResultStateChanges"
        },
        "transaction_index": {
          "description": "The position of the transaction in the block",
          "format": "int64",
          "type": [
            "integer",
            "null"
          ],
          "example": 1
        },
        "type": {
          "description": "The type of the wrapped ethereum transaction, 0 (Pre-Eip1559) or 2 (Post-Eip1559)",
          "type": [
            "integer",
            "null"
          ],
          "example": 2
        },
        "v": {
          "description": "The recovery_id of the wrapped ethereum transaction",
          "type": [
            "integer",
            "null"
          ],
          "example": 1
        }
      }
    }
  ]
}