# Partial Signed Bitcoin Transaction (PSBT)

PSBT is derived from [BIP-174](https://github.com/bitcoin/bips/blob/master/bip-0174.mediawiki) and is used to facilitate the transmission of unsigned transactions. This standard enables multiple parties to sign the same transaction more easily. PSBT defines a precise format for conveying Bitcoin transactions. This format can carry metadata for a transaction, making it easier for signers to sign and verify the transaction. The standard also defines the process for signature merging and transaction finalization, allowing multiple parties to sign the same transaction in parallel and then merge the corresponding PSBTs to form a fully signed transaction.

Here's how PSBT works in the context of a scenario involving Alice and Bob jointly owning a UTXO locked in a 2-of-2 multi-signature address and wishing to redistribute it:

<figure><img src="/files/yemR71NpbbtRB3whRBbw" alt=""><figcaption></figcaption></figure>

* As the transaction initiator, Alice creates a PSBT and constructs Inputs and Outputs.
* Alice carefully checks the Outputs to ensure that no one can use her Inputs to construct Outputs different from her expectations, then signs the PSBT.
* Alice sends the PSBT to Bob, who also verifies the transaction to ensure that the expected Outputs are correctly constructed in the PSBT.
* After confirming everything is correct, Bob adds his signature. With both signatures in place, the 2-of-2 signing is completed, and the transaction can be broadcast to the network.

In Shell Finance, PSBT constructs multi-party transactions in scenarios such as borrowing, redemption, and repayment by liquidators. This technology allows users to achieve atomic asset swaps conveniently.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://shellfinance.gitbook.io/shell/concepts/partial-signed-bitcoin-transaction-psbt.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
