Protected
_maximumProtected
Readonly
chalkProtected
Readonly
compiledProtected
enableProtected
feeProtected
Readonly
feeProtected
fromProtected
hideProtected
ignoreProtected
Readonly
inputsProtected
Readonly
isIs the transaction being generated inside a browser?
Protected
isProtected
leftReadonly
logProtected
Readonly
minimumReadonly
moduleProtected
Readonly
networkProtected
Optional
nonAdd a non-witness utxo to the transaction
Protected
Readonly
originalProtected
Readonly
outputsProtected
priorityProtected
Readonly
publicProtected
Readonly
receiverProtected
Readonly
refundProtected
regeneratedProtected
Readonly
requestedProtected
scriptProtected
Readonly
scriptProtected
sequenceProtected
Readonly
sighashProtected
signedProtected
Readonly
signerProtected
tapProtected
tapThe tap leaf script
Protected
targetProtected
toProtected
totalProtected
transactionProtected
Optional
tweakedProtected
Readonly
updateProtected
utxosStatic
Readonly
LOCK_Static
Readonly
MINIMUM_Static
Readonly
numsStatic
Readonly
signAdd an input to the transaction.
The input to add
Protected
addProtected
addAdd an output to the transaction.
The output to add
Protected
addProtected
addProtected
buildProtected
calculateProtected
calculateProtected
generateProtected
Generate the PSBT input extended
The UTXO
The index of the input
The PSBT input extended
Protected
generateProtected
generateProtected
getProtected
Returns the inputs of the transaction.
Protected
getProtected
Returns the outputs of the transaction.
Protected
getProtected
getProtected
getProtected
getProtected
getProtected
internalProtected
internalProtected
internalPre-estimate the transaction fees
The fee rate
The number of inputs
The number of outputs
The number of signatures
The number of public keys
Protected
setProtected
Set transaction fee output.
The output to set the fees
Protected
signProtected
signProtected
splitProtected
tweakProtected
updateProtected
Add an input update
The input to update
Protected
verifyUTXOValidityStatic
attemptAttempt to finalize the inputs
The psbt
The start index
The ordered public keys
If the transaction is final
True if the inputs were finalized
Protected
Static
calculateStatic
dedupeStatic
fromGenerate a multisig transaction from a base64 psbt.
The parameters
The multisig transaction
Static
getStatic
partialPartially finalize a P2TR MS transaction
The input index
The input
The partial signatures
The ordered public keys
If the transaction is final
Static
prePre-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
Optional
taprootControlWitnessSize: bigint = 32nThe size of the control block witness in bytes
Optional
taprootScriptSize: bigint = 139nThe size of the taproot script in bytes
Protected
Static
readProtected
Static
signStatic
signPartially sign the transaction
True if the transaction was signed
Static
verifyProtected
Static
witness
Create a multi sign p2tr transaction MultiSignTransaction