The length of the contract duration in blocks.
Optional
maxDuration: number(Optional) The maximum length of the contract subscription duration in blocks. Only applicable for subscriptions.
(Optional) A boolean indicating if the duration can be changed. Only applicable for subscriptions.
An object representing the duration of a contract.
formatDuration
Returns an object representing a duration in either fixed or subscription format.
Generated using TypeDoc
The type of duration. Can be either 'fixed' or 'subscription'.