State API
The state API provides key-value storage with full history tracking.Contract
- Sync: All methods are synchronous.
- Storage: Values are JSON-serialized on write and parsed on read (
get,getAll). - History:
old_valueandnew_valueare stored as JSON strings; timestamps are ISO strings.