Skip to main content
Version: Next

Interface: ProtocolReturnedTimeConfig

Time Config information returned from the Protocol. This interface is exactly the same as the TimeConfig, except all the fields are snake cased instead of camel cased due to what the Protocol returns.

Properties

end

Optional end: number

Block timestamp that keys must be used before. If this isn't specified, keys can be used indefinitely. Measured in number of non-leap-nanoseconds since January 1, 1970 0:00:00 UTC.

Defined in

lib/types/protocol.ts:101


interval

Optional interval: number

Interval of time after the start_timestamp that must pass before a key can be used. If multiple intervals pass, the key can be used multiple times. This has nothing to do With the throttle timestamp. It only pertains to the start timestamp and the current timestamp. The last_used timestamp is not taken into account. Measured in number of non-leap-nanoseconds since January 1, 1970 0:00:00 UTC.

Defined in

lib/types/protocol.ts:114


start

Optional start: number

Minimum block timestamp before keys can be used. If this isn't specified, keys can be used immediately. Measured in number of non-leap-nanoseconds since January 1, 1970 0:00:00 UTC.

Defined in

lib/types/protocol.ts:95


throttle

Optional throttle: number

Amount of time that must pass in between each key use. If this isn't specified, there is no delay between key uses. Measured in number of non-leap-nanoseconds since January 1, 1970 0:00:00 UTC.

Defined in

lib/types/protocol.ts:107