Protected
_maximumProtected
amountProtected
Readonly
chalkProtected
enableProtected
feeProtected
Readonly
feeProtected
fromProtected
hideProtected
ignoreProtected
Readonly
inputsProtected
Readonly
isIs the transaction being generated inside a browser?
Protected
isReadonly
logReadonly
moduleProtected
Readonly
networkProtected
Optional
nonAdd a non-witness utxo to the transaction
Protected
Readonly
outputsProtected
priorityProtected
regeneratedProtected
scriptProtected
sequenceProtected
sighashProtected
signedProtected
Readonly
signerProtected
splitProtected
tapProtected
tapThe tap leaf script
Protected
toProtected
totalProtected
transactionProtected
Optional
tweakedReadonly
typeProtected
Readonly
updateProtected
utxosStatic
Readonly
LOCK_Static
Readonly
MINIMUM_Add 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
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
splitProtected
tweakProtected
updateProtected
Add an input update
The input to update
Protected
verifyUTXOValidityProtected
Static
calculateStatic
getStatic
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
signProtected
Static
witness
Allows to build a transaction like you would on Ethereum.
Description
The transaction builder class
TransactionBuilder