Hedera · Schema

Contract

Distributed LedgerBlockchainDLTHashgraphTransactionTokensNFTSmart ContractsEnterprise

Properties

Name Type Description
admin_key object
auto_renew_account object
auto_renew_period integernull
contract_id object
created_timestamp object
deleted boolean
evm_address object
expiration_timestamp object
file_id object
max_automatic_token_associations integernull
memo string
nonce integernull The nonce of the contract
obtainer_id object
permanent_removal booleannull
proxy_account_id object
timestamp object
View JSON Schema on GitHub

JSON Schema

Contract.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/hedera/refs/heads/main/json-schema/Contract.json",
  "title": "Contract",
  "type": "object",
  "properties": {
    "admin_key": {
      "$ref": "#/components/schemas/Key"
    },
    "auto_renew_account": {
      "$ref": "#/components/schemas/EntityId"
    },
    "auto_renew_period": {
      "example": 7776000,
      "format": "int64",
      "type": [
        "integer",
        "null"
      ]
    },
    "contract_id": {
      "$ref": "#/components/schemas/EntityId"
    },
    "created_timestamp": {
      "$ref": "#/components/schemas/TimestampNullable"
    },
    "deleted": {
      "type": "boolean",
      "example": false
    },
    "evm_address": {
      "$ref": "#/components/schemas/EvmAddress"
    },
    "expiration_timestamp": {
      "$ref": "#/components/schemas/TimestampNullable"
    },
    "file_id": {
      "$ref": "#/components/schemas/EntityId"
    },
    "max_automatic_token_associations": {
      "type": [
        "integer",
        "null"
      ],
      "format": "int32"
    },
    "memo": {
      "example": "contract memo",
      "type": "string"
    },
    "nonce": {
      "description": "The nonce of the contract",
      "format": "int64",
      "type": [
        "integer",
        "null"
      ],
      "example": 1
    },
    "obtainer_id": {
      "$ref": "#/components/schemas/EntityId"
    },
    "permanent_removal": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "proxy_account_id": {
      "$ref": "#/components/schemas/EntityId"
    },
    "timestamp": {
      "$ref": "#/components/schemas/TimestampRange"
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/Contract"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.