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 (TYPE_RELATIVE_TIMELOCK | TYPE_ABSOLUTE_TIMELOCK | TYPE_REPLACE_BY_FEE isTypeBlock If type is TYPE_RELATIVE_TIMELOCK 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(
) → Uint8List - 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.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited