MerkleProof<T> class

Merkle Proof structure for efficient verification

Constructors

MerkleProof({required List<String> hashes, required List<bool> directions, required int leafIndex, required int totalLeaves})
const
MerkleProof.fromBytes(Uint8List bytes)
Creates proof from bytes
factory

Properties

directions List<bool>
final
hashCode int
The hash code for this object.
no setterinherited
hashes List<String>
final
leafIndex int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
totalLeaves int
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toBytes() Uint8List
Serializes proof to bytes for network transmission
toString() String
A string representation of this object.
inherited

Operators

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