Sequence class
Helps setting up appropriate sequence. Used to provide the sequence to transaction inputs and to scripts.
value The value of the block height or the 512 seconds increments seqType Specifies the type of sequence (.typeRelativeTimelock | .typeAbsoluteTimelock | .typeReplaceByFee isTypeBlock If type is .typeRelativeTimelock then this specifies its type (block height or 512 secs increments)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isTypeBlock → bool
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- seqType → int
-
final
- value → int
-
final
Methods
-
forInputSequence(
) → List< int> - Serializes the relative sequence as required in a transaction
-
forScript(
) → int - Returns the appropriate integer for a script; e.g. for relative timelocks
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited