What is an mBTC and how do Bitcoin addresses and scripts work?
An mBTC is one-thousandth of a Bitcoin, so 1 BTC equals 1,000 mBTC. Bitcoin addresses are human-facing ways to identify a payment destination, while scripts and witness data define the conditions that a valid transaction must satisfy before an output can be spent.
Next question: How many Bitcoins will ever exist? →
Use the wallet’s current receiving address and QR-code tools instead of reusing an old address or editing raw script data unless you are deliberately working at protocol level.
Read the Bitcoin transaction guideRun your own numbers: Compound interest and savings calculator.
What an mBTC represents
mBTC means milli-bitcoin. “Milli” denotes one-thousandth, so the unit is simply a smaller way to display a Bitcoin amount. Wallets can present balances in BTC, mBTC or satoshis without changing the underlying value held by the user.
Display units are useful because a long decimal can be awkward for ordinary payments. Someone who says they sent 25 mBTC has described the same quantity as 0.025 BTC. The safest habit is to look for the unit label before approving a transaction, especially when copying an amount from a message or spreadsheet.
How QR codes fit into Bitcoin payments
A Bitcoin payment request can be encoded as a QR code so that a phone camera can read the destination and amount rather than forcing the user to type a long string manually. The QR image is not the money; it is a machine-readable representation of payment information.
For a merchant or recipient, showing a QR code can reduce typing mistakes. For a payer, scanning it is still not a substitute for checking the amount and destination displayed by the wallet before signing. A malicious person can replace a QR code, and an incorrect amount can still be entered into an otherwise legitimate payment flow.
What P2PK, P2PKH, P2SH and P2WPKH mean
These labels describe different ways Bitcoin output conditions can be structured. P2PK is an older pay-to-public-key pattern. P2PKH pays to a hash of a public key. P2SH pays to a script hash, allowing the redeeming script to be supplied when the output is spent. P2WPKH is a SegWit pattern that pays to a witness program associated with a public-key hash.
You generally do not need to hand-build these scripts to receive ordinary payments. Modern wallets handle address formats and transaction construction for you. The useful concept is that an address format represents a payment destination, while the underlying locking conditions determine what evidence a later transaction must provide.
scriptPubKey versus scriptSig and witness data
A transaction output contains a locking script, commonly called scriptPubKey in technical descriptions. It states the conditions that must be satisfied to spend the output. The spending transaction provides the data needed to satisfy those conditions.
In older transaction formats, part of that unlocking information appears in scriptSig. With SegWit, signatures and related data are placed in a witness structure instead. That design changes where the spending data is stored and how transaction weight is measured, but the core idea remains the same: the output commits to conditions and the later spend supplies the required proof.
Why wallet ports are not part of the payment itself
Bitcoin Core uses different network services for peer communication and JSON-RPC. Port 8333 is associated with the Bitcoin network’s peer-to-peer service, while port 8332 has traditionally been used for JSON-RPC access. They serve different purposes. A payment address does not tell a user to connect to either port.
This distinction matters when configuring software. A wallet can generate and sign a transaction without exposing an RPC service to the public internet, and a node can communicate with peers without making its administrative RPC interface publicly reachable. Network configuration is a separate layer from the payment’s address and script.
The safest way to use addresses and units
Use the wallet’s built-in receive screen, copy the address directly, and verify the amount shown on the signing device. Do not assume an old address is still the best one to reuse, and do not paste a raw script into a payment field unless you know exactly what the application expects.
For mBTC, make the unit visible in every calculation. A mistake between BTC and mBTC changes the amount by a factor of 1,000, so the unit is not decorative text. It is part of the meaning of the number.
Worked example
Illustrative amount check: a wallet shows a balance of 0.025 BTC, but the user wants to describe it in mBTC for a payment note.
- 0.025 BTC × 1,000 = 25 mBTC
- 25 mBTC ÷ 1,000 = 0.025 BTC
The conversion changes the display unit, not the quantity of Bitcoin. If the user then scans a QR code that requests 10 mBTC, the wallet should show the corresponding BTC amount before the transaction is approved. That confirmation screen is where an unusually large unit mistake can often be caught.
Keeping the unit visible on the payment note is a simple way to avoid a decimal-place error, particularly when the same wallet can display both BTC and mBTC.
This is especially useful on a mobile confirmation screen.
How many mBTC are in 1 BTC?#
There are 1,000 mBTC in 1 BTC because “milli” means one-thousandth. So 1 BTC is 1,000 mBTC, while 0.001 BTC is 1 mBTC. The wallet may use either unit for display, but the amount represented is the same.
Are Bitcoin QR codes the same as Bitcoin addresses?#
No. A QR code is a visual encoding method; it can contain an address and may also include an amount or other payment information. The QR image itself is not a separate type of Bitcoin account. Your wallet scans it to recover the payment details it represents.
What is P2PKH in simple terms?#
P2PKH means pay to public-key hash. Instead of locking funds directly to the full public key, the output commits to a hash of that key. When the coins are later spent, the transaction supplies the public key and a valid signature that satisfies the output’s conditions.
What is P2WPKH?#
P2WPKH is a SegWit output type that pays to a witness program derived from a public-key hash. It is commonly associated with native SegWit addresses. Modern wallets handle the underlying script construction automatically, so most users only need to recognise the address format rather than build the script by hand.
What is the difference between scriptSig and scriptPubKey?#
scriptPubKey is the locking script in the transaction output, describing the conditions needed to spend the funds. scriptSig is older unlocking data supplied by the spending transaction. SegWit moves signatures and related data into the witness structure, so not every modern spend relies on scriptSig for the signature data.
What are Bitcoin ports 8332 and 8333 for?#
If a wallet offers several address formats, choose the one it recommends for the payment context instead of assuming every format works everywhere. The Bitcoin amount is unchanged by the format, but a receiving service may support only selected formats. Check compatibility before sending.
Keep reading
- My Virgin Money credit card has expired: what should I do?Related question
- Which MEES exemptions can a landlord register for an F or G rated rental?Related question
- How far back can Carer's Allowance be backdated?Related question
- How long should an ISA transfer take, and what can I do if it's delayed?Related question
- How do I sell Bitcoin and move the money to my bank account?Same topic
- What is the difference between kH/s, MH/s, GH/s and TH/s?Same topic
- How do I keep track of small everyday expenses?Popular question
- Compound interest and savings calculatorCalculator
- More in Crypto & Bitcoin: 22 answersTopic hub
Next question →How many Bitcoins will ever exist?
Sources
General information, not personal financial advice. Rules depend on your circumstances; check the official source or speak to a regulated adviser before acting.