ImmutableMetadata
@iota/notarization API documentation
Class: ImmutableMetadata
Represents immutable metadata of a notarization.
Properties
createdAt
readonlycreatedAt:bigint
Retrieves the timestamp when the notarization was created.
Returns
The timestamp as number value representing the seconds since the Unix epoch.
description
readonlydescription:undefined|string
Retrieves the description of the notarization.
Returns
A description string, if existing.
locking
readonlylocking: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