Optional
Readonly
btlReadonly
dataThe new binary data to store in the entity
Readonly
entityThe hexadecimal key of the entity to update
Optional
Readonly
expiresNew expiration time for the entity in seconds, or ExpirationTime object (preferred over btl). When using number, it represents duration in seconds (not blocks).
Readonly
numericNew numeric-valued metadata annotations
Readonly
stringNew string-valued metadata annotations
Specification for updating existing entities in Arkiv.
Updates replace the entire entity content including data and annotations. The entity owner can modify the expiration time to extend or reduce the entity's lifetime. Only the entity owner can perform update operations.
Example
Using the new expiresIn API (recommended):
Example
Using legacy BTL (deprecated):