WalletSignature class

WalletSignature contains the payload that was signed, the public keys of the key-pairs used to produce the signature, the signature (encoded in hex), and the SignatureType. PublicKey is often times not known during construction of the signing payloads but may be needed to combine signatures properly.

Annotations
  • @immutable

Constructors

WalletSignature(SigningPayload signingPayload, WalletPublicKey publicKey, String signatureType, String hexBytes)
const
WalletSignature.fromJson(Map<String, dynamic> map)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
hexBytes String
final
publicKey WalletPublicKey
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
signatureType String
export type SignatureType = | "ecdsa" | "ecdsa_recovery" | "ed25519" | "schnorr_1" | "schnorr_poseidon";
final
signingPayload SigningPayload
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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