yax_get_attestation
Verify TEE enclave operational status, mrEnclave hash, and last attestation timestamp before high-value actions.
Instructions
Checks whether the TEE enclave is operational. Returns enclave status, the verifiable mrEnclave hash, and timestamp of last attestation. Use before high-value actions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | True if status check succeeded. | |
| status | No | Enclave status: 'operational' or 'degraded'. | |
| enclave_hash | No | mrEnclave hash — verifiable on-chain against the published TEE manifest. | |
| last_attestation | No | ISO 8601 timestamp of the last successful attestation. | |
| tee_provider | No | TEE provider, e.g. NEAR AI Cloud. |