EthereumSignTypedHash class

EIP-712 by hash. Models with a screen that can parse typed data also support the structured EthereumSignTypedData flow; the hash variant works on all of them (Model One requires it).

Inheritance

Constructors

EthereumSignTypedHash({required List<int> addressN, required Uint8List domainSeparatorHash, Uint8List? messageHash, Uint8List? encodedNetwork})
const

Properties

addressN → List<int>
final
domainSeparatorHash → Uint8List
final
encodedNetwork → Uint8List?
final
hashCode → int
The hash code for this object.
no setterinherited
messageHash → Uint8List?
final
messageType → int
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

encode() → Uint8List
Serialized body. Messages without fields keep this default.
override
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