SignatureV2 class
SignatureV2 is a convenience type that is easier to use in application logic than the protobuf SignerInfo's and raw signature bytes. It goes beyond the first sdk.Signature types by supporting sign modes and explicitly nested multi-signatures. It is intended to be used for both building and verifying signatures.
Constructors
- SignatureV2({required Any pubKey, required SignatureData data, required Int64 sequence})
Properties
- data → SignatureData
-
Data is the actual data of the signature which includes SignMode's and
the signatures themselves for either single or multi-signatures.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- pubKey → Any
-
PubKey is the public key to use for verifying the signature
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sequence → Int64
-
Sequence is the sequence of this account. Only populated in
SIGN_MODE_DIRECT.
final
Methods
-
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