Which MIME types are related to file extension ".psbt"?
The .psbt file extension is associated with 1 MIME types:
A MIME type is a string that tells browsers and other tools how to handle a particular kind of file.
About .psbt Files
PSBT files are used for Partially Signed Bitcoin Transactions. They store binary data, as indicated by the MIME type application/octet-stream.
They help several parties sign a Bitcoin transaction in steps. The file holds transaction details that can be passed between different wallets or devices to gather all necessary signatures.
- Purpose: To enable multi-party signing where no single entity holds all private keys.
- Use Cases: Exchanging incomplete Bitcoin transaction data for further signing; facilitating collaborative security in transaction processing.
- MIME Type: Uses application/octet-stream to denote binary formatted data.
- Software: Supported by applications like Bitcoin Core, various multi-signature wallets, and hardware wallets adhering to standards such as BIP-174.
Relationship between file extension and MIME type
A file extension is a suffix at the end of a filename that indicates what type of file it is. File extensions help both users and operating systems identify what application should be used to open the file.
File extensions are typically separated from the filename by a period (dot) and consist of 2-4 characters, though they can be longer. For example, in the filename "document.pdf", ".pdf" is the file extension.
File extensions are closely related to MIME types, as they both serve to identify the format of a file. However, while MIME types are used primarily by web browsers and servers, file extensions are used by operating systems and applications.
Associated MIME types
FAQs
What is a .psbt file used for?
A .psbt file contains a Partially Signed Bitcoin Transaction, which allows multiple parties to sign a transaction without sharing private keys. It is defined by the BIP-174 standard and is essential for complex workflows like multi-signature setups or air-gapped cold storage signing.
How do I open a PSBT file on my computer?
You cannot open a PSBT file with a standard text editor; you must import it into compatible Bitcoin wallet software like Bitcoin Core, Electrum, or Sparrow Wallet. These applications decode the binary structure to display transaction details, such as inputs, outputs, and miner fees.
Is it safe to email or share a PSBT file?
Yes, sharing a .psbt file is generally safe because it contains transaction data and signatures, but never your private keys or seed phrases. This makes it secure to transfer between devices or people to gather the necessary signatures for a transaction.
Why is the MIME type for PSBT application/octet-stream?
PSBT files consist of serialized binary data rather than plain text. Consequently, they are often identified by the generic application/octet-stream MIME type, indicating to the operating system that specific software is required to interpret the byte stream.
How do I convert a PSBT file into a final transaction?
You cannot simply convert the file format; you must first load the .psbt into a wallet to add the required signatures. Once enough signatures are collected, the wallet software will "finalize" the transaction, extracting the raw hex data that can be broadcast to the Bitcoin network.
Can I use PSBT files with hardware wallets?
Yes, PSBT is widely supported by hardware wallets like Coldcard, Trezor, and Ledger. For air-gapped security, users often save the .psbt file to a microSD card, insert it into the hardware wallet to sign, and then move the signed file back to an online computer.
What happens if I try to edit a PSBT file manually?
Editing the binary data of a .psbt file in a text or hex editor will almost certainly corrupt the file and invalidate any existing partial signatures. Modifications to transaction amounts or fees should be done in wallet software before the signing process begins.
General FAQ
What is a MIME type?
A MIME (Multipurpose Internet Mail Extensions) type is a standard that indicates the nature and format of a document, file, or assortment of bytes. MIME types are defined and standardized in IETF's RFC 6838.
MIME types are important because they help browsers and servers understand how to process a file. When a browser receives a file from a server, it uses the MIME type to determine how to display or handle the content, whether it's an image to display, a PDF to open in a viewer, or a video to play.
MIME types consist of a type and a subtype, separated by a slash (e.g., text/html, image/jpeg, application/pdf). Some MIME types also include optional parameters.
How do I find the MIME type for a file?
You can check the file extension or use a file identification tool such as file --mime-type on the command line. Many programming languages also provide libraries to detect MIME types.
Why can one extension have multiple MIME types?
Different programs and historical usage may assign various MIME identifiers to the same file format. Listing them together helps maintain compatibility across tools.