Descriptor class
Script descriptor
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
-
asString(
) → Future< String> - Return the public version of the output descriptor.
-
asStringPrivate(
) → Future< String> - Return the private version of the output descriptor if available, otherwise return the public version.
-
maxSatisfactionWeight(
) → Future< int> -
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
Static Methods
-
create(
{required String descriptor, required Network network}) → Future< Descriptor> - Descriptor constructor
-
newBip44(
{required DescriptorSecretKey secretKey, required Network network, required KeychainKind keychain}) → Future< Descriptor> - BIP44 template. Expands to pkh(key/44'/{0,1}'/0'/{0,1}/*)
-
newBip44Public(
{required DescriptorPublicKey publicKey, required String fingerPrint, required Network network, required KeychainKind keychain}) → Future< Descriptor> - BIP44 public template. Expands to pkh(key/{0,1}/*)
-
newBip49(
{required DescriptorSecretKey secretKey, required Network network, required KeychainKind keychain}) → Future< Descriptor> - BIP49 template. Expands to sh(wpkh(key/49'/{0,1}'/0'/{0,1}/*))
-
newBip49Public(
{required DescriptorPublicKey publicKey, required String fingerPrint, required Network network, required KeychainKind keychain}) → Future< Descriptor> - BIP49 public template. Expands to sh(wpkh(key/{0,1}/*))
-
newBip84(
{required DescriptorSecretKey secretKey, required Network network, required KeychainKind keychain}) → Future< Descriptor> - BIP84 template. Expands to wpkh(key/84'/{0,1}'/0'/{0,1}/*)
-
newBip84Public(
{required DescriptorPublicKey publicKey, required String fingerPrint, required Network network, required KeychainKind keychain}) → Future< Descriptor> - BIP84 public template. Expands to wpkh(key/{0,1}/*)