CapsuleSigner class
Additional signing functionality, implemented using metamask utils.
Currently in development and subject to change.
Constructors
- CapsuleSigner(Capsule capsule)
-
const
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
recoverTypedSignature(
{required dynamic data, required String signature, SignTypedDataVersion version = SignTypedDataVersion.v4}) → Future< String> - Validates a typed data signature. @returns Address of the sender.
-
signTypedData(
{required String from, required Map< String, dynamic> data, SignTypedDataVersion version = SignTypedDataVersion.v1}) → Future<FullSignatureResult> - Signs a typed message. @param domain Domain of the message. @param types Types of the message. @param value Value of the message. @returns The signature in hex format.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited