BIP-174 (PSBT Format)
The Partially Signed Bitcoin Transaction format, used to pass an unsigned transaction between wallets and signers safely.
Basically
BIP-174 lets wallets and signing devices work on the same incomplete Bitcoin transaction. You can sign it offline or with other people without sharing your private keys.
Key Takeaways
- BIP-174 defines the Partially Signed Bitcoin Transaction (PSBT) format. It gives multiple parties a standard way to pass incomplete transactions between them and add signatures independently.
- PSBT separates transaction construction from signing. This supports hardware wallets, threshold signature schemes and air-gapped workflows where private keys never touch a networked device.
- BIP-174 defines six roles: Creator, Updater, Signer, Combiner, Finalizer and Extractor. They support flexible, modular transaction workflows across wallets, coordinators and signing devices.
What Is BIP-174?
BIP-174 is a Bitcoin Improvement Proposal that specifies the Partially Signed Bitcoin Transaction (PSBT) format. Ava Chow (achow101) authored it and first proposed it in August 2017. It defines a binary serialisation format for passing unsigned or partially signed transactions between different software and hardware. The specification has "Deployed" status and was first implemented in Bitcoin Core version 0.17.0 in October 2018.
PSBT solved the lack of a standard way to share an incomplete transaction between wallets. Each hardware vendor and software wallet previously used proprietary formats, which made interoperability difficult. You often could not use a cold storage device from one vendor with wallet software from another. BIP-174 created a universal container format that any compliant tool can read, modify and pass along.
PSBT lets the unsigned transaction travel while the keys stay put. A networked computer constructs the transaction, an offline signing device adds its signature, and the signed transaction returns for broadcast. Private keys never leave the secure environment.
How It Works
A PSBT is a binary data structure built around key-value maps. It begins with the magic bytes 0x70736274ff, which are ASCII "psbt" followed by a 0xff separator. It then contains a global map, one map per input and one map per output. Each map is a sequence of key-value pairs terminated by a 0x00 byte.
Binary Structure
The 0xff separator after the magic bytes is intentional. Any non-PSBT deserialiser that tries to parse the data as a regular transaction fails immediately, which prevents accidental misinterpretation.
Key-Value Maps
The global map stores data that applies to the entire transaction. This includes the unsigned transaction itself (key type 0x00) and any extended public keys with their derivation paths (key type 0x01).
Each per-input map carries the data a signer needs for that specific input. This includes the previous UTXO being spent, redeem scripts, witness scripts, BIP-32 derivation paths for the keys involved, and any partial signatures already collected. For SegWit inputs, only the witness UTXO (amount and scriptPubKey) is required rather than the full previous transaction.
Per-output maps describe change outputs the wallet controls, including redeem scripts, witness scripts and derivation paths. Your signing device can use them to verify that change is returning to addresses you own.
The Six Roles
BIP-174 defines six roles in the PSBT lifecycle: Creator, Updater, Signer, Combiner, Finalizer and Extractor. A single entity can perform multiple roles, and the workflow does not need to follow a strict linear sequence.
Example Workflow
A typical multisig PSBT workflow uses Bitcoin Core's RPC interface.
The base64-encoded strings begin with "cHNidP8B", which decodes to the PSBT magic bytes. You can transfer them between devices via file, QR code, SD card or NFC.
PSBT Version 2 (BIP-370)
BIP-370, also authored by Ava Chow, introduced PSBT version 2 with "Deployed" status. PSBT v0 stores the entire unsigned transaction as a single global field. You therefore cannot add or remove inputs and outputs after the PSBT is created.
Version 2 decomposes the transaction into individual fields spread across the per-input and per-output maps. Each input map stores its own previous txid, output index and sequence number. Each output map stores its amount and scriptPubKey. A new global "transaction modifiable" flags field (key type 0x06) indicates whether inputs, outputs or both can still be added.
PSBT version 2 introduces a new Constructor role that can modify the transaction structure before signing begins. Protocols that require interactive transaction building, such as Payjoin and CoinJoin, can now use the standard PSBT format rather than custom protocols.
PSBTv2 is intentionally incompatible with v0 because the global unsigned transaction field is excluded in v2. You can convert a v2 PSBT to v0 by reconstructing the unsigned transaction from the decomposed fields. There is no "version 1": since v0 was colloquially called "version 1", the next version was numbered 2 to avoid confusion.
Taproot and Advanced Extensions
BIP-371 extends the PSBT format with fields specific to Taproot transactions. It adds per-input fields for Taproot key-spend signatures, script-spend signatures, leaf scripts, internal keys and Taproot-specific BIP-32 derivation paths. Per-output fields carry the Taproot internal key, tap tree structure and derivation paths.
Taproot signatures commit to all input amounts. Taproot inputs can therefore safely use only the witness UTXO without the full previous transaction. This simplifies the data requirements for signing devices and reduces the PSBT size.
Additional BIP extensions build on the PSBT framework. BIP-373 adds fields for MuSig2 Schnorr multi-signatures, BIP-375 enables sending to silent payment addresses, and Miniscript (BIP-379) helps wallets automatically determine what signatures are needed to satisfy complex spending conditions within PSBTs.
Hardware Wallet Signing
PSBT is the standard interface between software wallets and hardware signing devices. A wallet application on a networked computer constructs and updates the PSBT, then transfers it to a hardware device via USB, SD card, QR code or NFC. The device signs it, and the signed PSBT returns for broadcast. Coldcard, Trezor, Ledger, BitBox02, Blockstream Jade and SeedSigner all support the PSBT format.
Multisig Coordination
PSBT enables practical multi-party signing for multisig wallets. In a 2-of-3 setup, you can send the PSBT to each cosigner independently. Each signer adds their partial signature, and a Combiner merges the results. The format carries all the metadata each signer needs to verify the transaction before signing, including redeem scripts, derivation paths and previous UTXOs.
Air-Gapped Security
PSBT enables fully air-gapped workflows where signing keys never touch a network-connected device. You build the transaction on an online machine, transfer it to an offline signer via SD card or animated QR codes using the BBQr protocol, sign it in isolation, and return it. This is the gold standard for self-custody security.
Lightning Channel Funding
Lightning implementations like LND use PSBT for channel funding transactions. You can fund channels from external wallets or hardware devices rather than the LND internal wallet. This preserves the separation between hot channel keys and cold funding keys.
Why It Matters
PSBT eliminated vendor lock-in in Bitcoin wallet infrastructure. Before the standard, choosing a hardware wallet meant committing to its companion software. You can now pair any PSBT-compliant signing device with any PSBT-compliant wallet: Sparrow Wallet with a Coldcard, Specter Desktop with a SeedSigner, or Bitcoin Core with a Ledger.
PSBT gives developers building on Bitcoin a universal interface for transaction signing. Libraries like rust-bitcoin, bitcoinjs-lib and the Hardware Wallet Interface (HWI) all implement PSBT parsing and construction, making it straightforward to build applications that support any compliant signer. For platforms like Spark, which prioritise self-custody, PSBT-compatible tooling ensures users retain full control over their signing workflows.
Input Validation
Signers must carefully validate PSBT data before signing. A malicious PSBT could misrepresent the transaction's outputs or fee level. For non-SegWit inputs in PSBT v0, the full previous transaction must be included so the signer can verify the input amounts. Without this verification, a signer could be tricked into signing a transaction with an inflated fee that effectively donates funds to miners.
Privacy Considerations
A PSBT contains extensive metadata: extended public keys, derivation paths and UTXO data. If someone intercepts a PSBT in transit, they learn which xpubs control which UTXOs and how a wallet's HD wallet is structured. For sensitive transactions, you should transmit PSBTs over encrypted channels or physically secure media like SD cards.
Version Compatibility
Not all wallets support the same PSBT version or extensions. A v0-only wallet cannot process a PSBT created with v2 features without conversion. Similarly, Taproot-specific fields (BIP-371) require signer support for Taproot. You should verify that all parties in a signing workflow support the required PSBT version and field types before beginning.
Complexity in Advanced Workflows
Basic PSBT workflows are straightforward, but advanced use cases require careful coordination. These include Miniscript policies, threshold signatures and interactive construction (PSBTv2). Applications must track the state of each input, handle partial failures, and ensure all participants complete their roles before deadlines imposed by timelocks.
Nuri provides this glossary entry for informational purposes only. It does not constitute financial or investment advice. Always do your own research before using any protocol or technology.