XtzAddrEncoder class
Encodes a Tezos (XTZ) address.
- Implemented types
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
encode(
List< int> hash, {XtzAddrPrefixes? addressPrefix}) → XtzAddrEncodedAddress - Encodes an already-hashed address (or re-encodes with a new prefix).
-
encodeKey(
List< int> pubKey, {XtzAddrPrefixes? addressPrefix}) → String -
Encodes a public key or address bytes into a blockchain address.
override
-
encodeSmartRollup(
List< int> hash20) → XtzAddrEncodedAddress -
Encode a 20-byte hash as a smart rollup (
sr1…) address. -
encodeZkRollup(
List< int> hash20) → XtzAddrEncodedAddress -
Encode a 20-byte hash as a ZK rollup (
epx1…) address. -
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