Blockchains are the distributed, decentralised ledger technology underlying Bitcoin and other cryptocurrencies. We apply Oliver Williamson's transactions cost analysis to the blockchain consensus mechanism. Blockchains reduce the costs of opportunism but are not “trustless”. We show that...