Protected_maximumProtected ReadonlycalldataCalldata for the interaction
ProtectedcalldataProtected ReadonlychalkProtected ReadonlycompiledThe compiled target script
Protected ReadonlycontractContract secret for the interaction
Protected ReadonlydisableDisable auto refund
ProtectedenableProtected ReadonlyestimatedEstimated unwrap loss due to bitcoin fees in satoshis.
ProtectedfeeProtected ReadonlyfeeProtectedfromProtectedhideProtectedignoreProtected ReadonlyinputsProtected ReadonlyisIs the transaction being generated inside a browser?
ProtectedisProtectedleftReadonlylogReadonlymoduleProtected ReadonlynetworkProtected OptionalnonAdd a non-witness utxo to the transaction
Protected ReadonlyoutputsProtectedpriorityReadonlyrandomRandom salt for the interaction
ProtectedregeneratedProtectedscriptProtected ReadonlyscriptScript signer for the interaction
Protected ReadonlyscriptThe script tree
ProtectedsequenceProtectedsighashThe sighash types for the transaction
ProtectedsignedProtected ReadonlysignerProtectedtapProtectedtapThe tap leaf script
ProtectedtargetProtectedtoProtectedtotalProtectedtransactionProtected OptionaltweakedProtected ReadonlyupdateProtectedutxosProtected ReadonlyvaultUTXOsThe vault UTXOs
Static ReadonlyLOCK_Static ReadonlyMAXIMUM_Static ReadonlyMINIMUM_Add an input to the transaction.
The input to add
ProtectedaddProtectedaddAdd an output to the transaction.
The output to add
ProtectedaddProtectedaddProtectedbuildProtectedcalculateProtectedcalculateProtectedcalculateProtectedcalculateProtectedcalculateProtectedcustomProtectedgenerateProtectedgenerateProtectedGenerate the PSBT input extended
The UTXO
The index of the input
The PSBT input extended
ProtectedgenerateProtectedgenerateProtectedgenerateProtectedgenerateProtectedGenerate an input for a vault UTXO
The public keys
The minimum number of signatures
The tap tree
ProtectedgetProtectedReturns the inputs of the transaction.
ProtectedgetProtectedReturns the outputs of the transaction.
ProtectedgetProtectedgetProtectedgetProtectedgetProtectedgetProtectedinternalProtectedinternalProtectedinternalProtectedmergePre-estimate the transaction fees
The fee rate
The number of inputs
The number of outputs
The number of signatures
The number of public keys
ProtectedscriptProtectedsetProtectedSet transaction fee output.
The output to set the fees
ProtectedsignProtectedsignProtectedsplitProtectedtweakProtectedupdateProtectedAdd an input update
The input to update
ProtectedverifyUTXOValidityProtected StaticcalculateStaticgetStaticprePre-estimate the transaction fees for a Taproot transaction
The fee rate in satoshis per virtual byte
The number of inputs
The number of outputs
The number of witness elements (e.g., number of control blocks and witnesses)
The average size of each witness element in bytes
The amount of empty witnesses
OptionaltaprootControlWitnessSize: bigint = 32nThe size of the control block witness in bytes
OptionaltaprootScriptSize: bigint = 139nThe size of the taproot script in bytes
Protected StaticreadProtected StaticsignProtected Staticwitness
Unwrap transaction UnwrapTransaction