Optional
Readonly
durationDuration to extend the entity's lifetime in seconds, or ExpirationTime object (preferred over numberOfBlocks). When using number, it represents duration in seconds (not blocks).
Readonly
entityThe hexadecimal key of the entity to extend
Optional
Readonly
number
Specification for extending the lifetime of existing entities.
Extension allows entity owners to prolong the lifetime of their entities without modifying the data or annotations. This is useful for maintaining important data that should not expire.
Example
Using the new duration API (recommended):
Example
Using legacy numberOfBlocks (deprecated):