Skip to main content
Write compact JSON data and read it back.
Response example (read):
Limits:
  • data_type ≤ 64 characters
  • serialized data ≤ 256 characters
The SDK counts characters; the chain limit is 64 and 256 bytes, so multibyte text can pass the SDK check and still fail on chain. Each key can be written once per account. add_data submits PeaqStorage.add_item, which fails with ItemTypeAlreadyExists if the key already exists, and the SDK has no update call. Use a new key for every write (for example, append a timestamp or counter), including with add_telemetry and add_configuration, which use the fixed keys TELEMETRY_<robot_id> and CONFIG_<robot_id>.