AbstractProtectedconstructorProtected_maximumProtected ReadonlycalldataCalldata for the interaction
ProtectedcalldataProtected ReadonlychalkProtected Abstract ReadonlycompiledProtected Abstract ReadonlycontractContract secret for the interaction
Protected ReadonlydisableDisable auto refund
ProtectedenableProtectedfeeProtected 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 Abstract ReadonlyscriptProtectedsequenceProtectedsighashProtectedsignedProtected ReadonlysignerProtectedtapProtectedtapThe tap leaf script
ProtectedtargetProtectedtoProtectedtotalProtectedtransactionProtected OptionaltweakedAbstract ReadonlytypeProtected ReadonlyupdateProtectedutxosStatic 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
ProtectedaddProtectedaddProtectedbuildProtectedcalculateProtectedcalculateProtectedcustomProtectedgenerateProtectedgenerateProtectedGenerate the PSBT input extended
The UTXO
The index of the input
The PSBT input extended
ProtectedgenerateProtectedgenerateProtectedgenerateProtectedgetProtectedReturns the inputs of the transaction.
ProtectedgetProtectedReturns the outputs of the transaction.
ProtectedgetProtectedgetProtectedgetProtectedgetProtectedgetProtectedinternalProtectedinternalProtectedinternalPre-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
Shared interaction transaction SharedInteractionTransaction