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.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "yax_get_attestation"
}
}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. |