Hedera · Schema

TokenRelationship

Distributed LedgerBlockchainDLTHashgraphTransactionTokensNFTSmart ContractsEnterprise

Properties

Name Type Description
automatic_association boolean Specifies if the relationship is implicitly/explicitly associated.
balance integer For FUNGIBLE_COMMON, the balance that the account holds in the smallest denomination. For NON_FUNGIBLE_UNIQUE, the number of NFTs held by the account.
created_timestamp object
decimals integer
freeze_status string The Freeze status of the account.
kyc_status string The KYC status of the account.
token_id object
View JSON Schema on GitHub

JSON Schema

TokenRelationship.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/hedera/refs/heads/main/json-schema/TokenRelationship.json",
  "title": "TokenRelationship",
  "type": "object",
  "properties": {
    "automatic_association": {
      "type": "boolean",
      "description": "Specifies if the relationship is implicitly/explicitly associated.",
      "example": true
    },
    "balance": {
      "format": "int64",
      "type": "integer",
      "description": "For FUNGIBLE_COMMON, the balance that the account holds in the smallest denomination. For NON_FUNGIBLE_UNIQUE, the number of NFTs held by the account.",
      "example": 5
    },
    "created_timestamp": {
      "$ref": "#/components/schemas/Timestamp"
    },
    "decimals": {
      "format": "int64",
      "type": "integer"
    },
    "freeze_status": {
      "type": "string",
      "description": "The Freeze status of the account.",
      "example": "UNFROZEN",
      "enum": [
        "NOT_APPLICABLE",
        "FROZEN",
        "UNFROZEN"
      ]
    },
    "kyc_status": {
      "type": "string",
      "description": "The KYC status of the account.",
      "example": "GRANTED",
      "enum": [
        "NOT_APPLICABLE",
        "GRANTED",
        "REVOKED"
      ]
    },
    "token_id": {
      "$ref": "#/components/schemas/EntityId"
    }
  },
  "required": [
    "automatic_association",
    "balance",
    "created_timestamp",
    "decimals",
    "freeze_status",
    "kyc_status",
    "token_id"
  ],
  "example": {
    "automatic_association": true,
    "balance": 5,
    "created_timestamp": "123456789.000000001",
    "decimals": 3,
    "freeze_status": "UNFROZEN",
    "kyc_status": "GRANTED",
    "token_id": "0.0.27335"
  }
}

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/TokenRelationship"
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.