Verify storage temperatures on chain
verify_tempVerify GYOTAK cold-chain storage temperatures DIRECTLY from the Midnight blockchain. Reads on-chain state and returns decoded hourly temperature records per freezer for independent verification. Unlike the dashboard (which reads from GYOTAK's D1 database), this lets you verify without trusting GYOTAK. Each value is the HOURLY AVERAGE committed on-chain; it does not prove the temperature stayed within any limit at every moment in that hour. Supports both preprod and mainnet.
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": "verify_temp"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| network | No | Midnight network (default: mainnet) | |
| freezerId | No | Filter to a specific freezer by ID. Omit to return all freezers. | |
| hourStartUtc | No | Filter to a specific hour (e.g. "2026-07-09 11:00:00"). Omit to return all hours. | |
| contractAddress | No | Midnight temp-log contract address (64-char hex). Default: mainnet production contract. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Same text as content when the input or the lookup failed | |
| source | No | Where the on-chain state was read from | |
| message | No | Same text as content when there is nothing to show | |
| freezers | No | ||
| total_records | No | ||
| verification_note | No | ||
| availableFreezerIds | No | Listed when the filter matched nothing |