Partially signed bitcoin transactions: see https://github.com/bitcoin/bips/blob/master/bip-0174.mediawiki
- Companion:
- class
- Source:
- Psbt.scala
Type members
Classlikes
A PSBT is a collection of key-value maps.
A PSBT is a collection of key-value maps.
- Source:
- Psbt.scala
- Value parameters:
- extendedPublicKey
BIP32 extended public key.
- masterKeyFingerprint
fingerprint of the master key.
- prefix
extended public key version bytes.
- Source:
- Psbt.scala
Input finalizers should keep the utxo to allow transaction extractors to verify the final network serialized transaction, but it's not mandatory so we may not have it available when parsing psbt inputs.
Input finalizers should keep the utxo to allow transaction extractors to verify the final network serialized transaction, but it's not mandatory so we may not have it available when parsing psbt inputs.
- Source:
- Psbt.scala
- Source:
- Psbt.scala
- Source:
- Psbt.scala
Global data for the PSBT.
Global data for the PSBT.
- Value parameters:
- extendedPublicKeys
(optional) extended public keys used when signing inputs and producing outputs.
- tx
partially signed transaction.
- unknown
(optional) unknown global entries.
- version
psbt version.
- Source:
- Psbt.scala
A PSBT input. A valid PSBT must contain one such input per input of the Global.tx.
A PSBT input. A valid PSBT must contain one such input per input of the Global.tx.
- Source:
- Psbt.scala
- Value parameters:
- keyPath
bip 32 derivation path.
- masterKeyFingerprint
fingerprint of the master key.
- Source:
- Psbt.scala
A non-segwit output.
A non-segwit output.
- Source:
- Psbt.scala
A PSBT output. A valid PSBT must contain one such output per output of the Global.tx.
A PSBT output. A valid PSBT must contain one such output per output of the Global.tx.
- Source:
- Psbt.scala
A partially signed input. More signatures may need to be added before it can be finalized.
A partially signed input. More signatures may need to be added before it can be finalized.
- Source:
- Psbt.scala
- Source:
- Psbt.scala
- Source:
- Psbt.scala
- Source:
- Psbt.scala
An output for which usage of segwit is currently unknown.
An output for which usage of segwit is currently unknown.
- Source:
- Psbt.scala
Inherited types
The names of the product elements
The names of the product elements
- Inherited from:
- Mirror
- Source:
- Mirror.scala
Value members
Concrete methods
Implements the PSBT creator role; initializes a PSBT for the given unsigned transaction.
Implements the PSBT creator role; initializes a PSBT for the given unsigned transaction.
- Value parameters:
- tx
unsigned transaction skeleton.
- Returns:
the psbt with empty inputs and outputs.
- Source:
- Psbt.scala
Implements the PSBT combiner role: combines multiple psbts for the same unsigned transaction.
Implements the PSBT combiner role: combines multiple psbts for the same unsigned transaction.
- Value parameters:
- psbts
partially signed bitcoin transactions to combine.
- Returns:
a psbt that contains data from all the input psbts.
- Source:
- Psbt.scala
Joins multiple distinct PSBTs with different inputs and outputs into one PSBT with inputs and outputs from all of the PSBTs. No input in any of the PSBTs can be in more than one of the PSBTs.
Joins multiple distinct PSBTs with different inputs and outputs into one PSBT with inputs and outputs from all of the PSBTs. No input in any of the PSBTs can be in more than one of the PSBTs.
- Value parameters:
- psbts
partially signed bitcoin transactions to join.
- Returns:
a psbt that contains data from all the input psbts.
- Source:
- Psbt.scala