ImmutableMetadata
@iota/notarization API documentation
Class: ImmutableMetadata
Represents immutable metadata of a notarization.
Properties
createdAt
readonly
createdAt:bigint
Retrieves the timestamp when the notarization was created.
Returns
The timestamp as number
value representing the seconds since the Unix epoch.
description
readonly
description:undefined
|string
Retrieves the description of the notarization.
Returns
A description string
, if existing.
locking
readonly
locking:undefined
|LockMetadata
Retrieves the optional lock metadata for the notarization.
Returns
A LockMetadata
instance, if existing.
Methods
toJSON()
toJSON():
Object
- Return copy of self without private attributes.
Returns
Object
toString()
toString():
string
Return stringified version of self.
Returns
string