Descriptor class

Script descriptor

Properties

extendedDescriptor → ExtendedDescriptor
finalinherited
hashCode int
The hash code for this object.
no setterinherited
keyMap → KeyMap
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

asString() String
inherited
maxSatisfactionWeight({dynamic hint}) BigInt
Computes an upper bound on the difference between a non-satisfied TxIn's segwit_weight and a satisfied TxIn's segwit_weight
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
Return the public version of the output descriptor.
override
toStringPrivate({dynamic hint}) String
Return the private version of the output descriptor if available, otherwise return the public version.

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}/*)
newBip86({required DescriptorSecretKey secretKey, required Network network, required KeychainKind keychain}) Future<Descriptor>
BIP86 template. Expands to tr(key/86'/{0,1}'/0'/{0,1}/*)
newBip86Public({required DescriptorPublicKey publicKey, required String fingerPrint, required Network network, required KeychainKind keychain}) Future<Descriptor>
BIP86 public template. Expands to tr(key/{0,1}/*)