Optional
payment?: PaymentThe corresponding bitcoinjs-lib Payment for the provided expression, if applicable.
Optional
expandedThe expanded descriptor expression. See ExpansionMap for a detailed explanation.
Optional
miniscript?: stringThe extracted miniscript from the expression, if any.
Optional
expansionA map of key expressions in the descriptor to their corresponding expanded keys. See ExpansionMap for a detailed explanation.
Optional
isA boolean indicating whether the descriptor uses SegWit.
Optional
expandedThe expanded miniscript, if any.
It corresponds to the expandedExpression
without the top-level script
expression.
Optional
redeemThe redeem script for the descriptor, if applicable.
Optional
witnessThe witness script for the descriptor, if applicable.
Whether the descriptor is a ranged-descriptor.
This is the preferred or authoritative representation of an output descriptor expression. It removes the checksum and, if it is a ranged-descriptor, it particularizes it to its index.
DescriptorsFactory
creates and returns theexpand()
function that parses a descriptor expression and destructures it into its elemental parts.Expansion
is the type thatexpand()
returns.