{ "$schema": "http://json-schema.org/draft-07/schema#", "$id": "https://api-evangelist.github.io/aptos/json-schema/IndexResponse.json", "title": "IndexResponse", "type": "object", "description": "The struct holding all data returned to the client by the\nindex endpoint (i.e., GET \"/\"). Only for responding in JSON", "required": [ "chain_id", "epoch", "ledger_version", "oldest_ledger_version", "ledger_timestamp", "node_role", "oldest_block_height", "block_height" ], "properties": { "chain_id": { "type": "integer", "format": "uint8", "description": "Chain ID of the current chain" }, "epoch": { "$ref": "#/components/schemas/U64" }, "ledger_version": { "$ref": "#/components/schemas/U64" }, "oldest_ledger_version": { "$ref": "#/components/schemas/U64" }, "ledger_timestamp": { "$ref": "#/components/schemas/U64" }, "node_role": { "$ref": "#/components/schemas/RoleType" }, "oldest_block_height": { "$ref": "#/components/schemas/U64" }, "block_height": { "$ref": "#/components/schemas/U64" }, "git_hash": { "type": "string", "description": "Git hash of the build of the API endpoint. Can be used to determine the exact\nsoftware version used by the API endpoint." }, "encryption_key": { "type": "string", "description": "Per-epoch transaction encryption key (hex-encoded)" } } }