InvalidBefore class

Class representing an "invalid before" native script (time-locked).

Inheritance

Constructors

InvalidBefore(int timestamp)
Factory constructor to create an InvalidBefore from a CBOR list.
const
InvalidBefore.fromCbor(CborList value)
Factory constructor to create an InvalidBefore from a CBOR list.
factory

Properties

hash Uint8List
Computes the hash of the script.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
props List<Object?>
Equatable props for value comparison.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited
tag int
Gets the tag for the script type.
no setterinherited
timestamp int
Converts the InvalidBefore to its CBOR format.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toCbor() → CborValue
Converts the InvalidBefore to its CBOR format.
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited