Looking in the ledger
Bitcoin's ledger is open to everyone. With an explorer you read it yourself: a payment, its confirmations, what has really arrived.
The ledger is public, and anyone can read it. An explorer is a website that lays it out in pages: you search for a payment or an address and it shows you what's recorded there. Two of many are mempool.space and blockstream.info. They all read the same ledger: use whichever you find easiest. We have one here too: inexp, the explorer born at inbitcoin, where the site does the searching for you.
Lightning payments don't show up there, because they happen off the ledger: at most you'll see a channel opening or closing. What you can see are on-chain payments, the ones sent to a Bitcoin address like bc1q….
In the search box you paste the address, or the transaction ID, the txid: 64 characters your wallet shows in the payment details.
How to read a transaction
Confirmations. “Unconfirmed” means the transaction is waiting in the mempool, the waiting room. When it gets into a block it has one confirmation, and each block after that adds another, roughly every ten minutes. How many to wait for depends on the amount and on who's paying: the maths is in lesson 8.
An example transaction, in round numbers: the same one we go through below, line by line.
| An example, in round numbers | satoshis |
|---|---|
| Input: a coin received earlier | 100,000 |
| Output: to the recipient | 30,000 |
| Output: the change, back to the payer | 69,000 |
| Fee: the difference | 1,000 |
Inputs and outputs. A bank transfer has one sender and one recipient. A Bitcoin transaction, as one of our course slides put it, “has n ‘senders’ and m ‘recipients’”.1 The inputs are coins received earlier, and they're spent whole. The outputs are the new coins that come out of them.
Change. It's like paying for a coffee with a twenty-euro note: the whole note goes, and you get change back. So usually one output goes to the recipient and another goes back to the payer, at an address of their own. The explorer doesn't know which of the two is the change. You know which address is yours.
The fee. It isn't an output: it's what's missing. Add up the inputs, subtract the outputs, and the difference goes to the miner who writes the block. It doesn't depend on the amount: it depends on how much space the transaction takes up and how busy the mempool is. The explorer also shows it in satoshis per virtual byte, sat/vB.
What those looking can see. On the ledger there is no name of yours: there are addresses. Bitcoin is pseudonymous, not anonymous. If an address gets tied to you, because you gave it to a shop or wrote it in a post, from there people can follow what passed through it. That is why the wallet creates a new one for every payment you receive, as Satoshi's text already advised.2
Checking a payment you've received
- Copy from your wallet the address you gave the person paying.
- Search for it in the explorer and open the incoming transaction.
- Look at the output to your address: that's the amount you're receiving, not the transaction total.
- Check the confirmations. While there are none, the payment isn't recorded yet.
- Your wallet should say the same thing.
A screenshot or a link sent by the person paying is not proof. Look it up yourself, with your own address.
Searching privately
When you look up an address, the site showing it to you sees the query and your IP address, and can link the two: as far as it's concerned, that address and its balance are now yours. If you'd rather keep that to yourself, there are three easy options:
- an explorer running on your own node: you already have the ledger, so you don't have to ask anyone for anything;
- Tor, which hides your IP from the explorer;
- a watch-only wallet, which follows an address without being able to spend from it. It gets its data from a server, or from your node if you have one.
Lesson 3: the first wallet An explorer on your own node How many confirmations are enough