DerivedPublicKey class
- Inheritance
-
- Object
- DerivedKey
- DerivedPublicKey
Constructors
- DerivedPublicKey({required PublicKey publicKey, required Uint8List chainCode, required int depth, required int index, required int parentFingerprint})
- DerivedPublicKey.decode(String encoded)
-
Decode a base58check extended PUBLIC key (xpub-form) back into a
DerivedPublicKey. The version bytes are not interpreted (any
xpub/ypub/zpub-style prefix is accepted); only the 78-byte body matters.
Throws FormatException / ArgumentError on a malformed key.
factory
Properties
- chainCode → Uint8List
-
finalinherited
- depth → int
-
finalinherited
- fingerprint → int
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- identifier → Uint8List
-
no setterinherited
- index → int
-
finalinherited
- parentFingerprint → int
-
finalinherited
- publicKey → PublicKey
-
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
derive(
int index) → DerivedPublicKey -
override
-
deriveHardened(
int index) → DerivedKey -
inherited
-
derivePath(
String path) → DerivedKey -
inherited
-
encode(
{int version = 0x0488B21E}) → String -
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