<!--
{
  "availability" : [

  ],
  "documentType" : "symbol",
  "framework" : "BitcoinKernel",
  "identifier" : "/documentation/BitcoinKernel/Coin/isCoinbase",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "BitcoinKernel"
    ],
    "preciseIdentifier" : "s:13BitcoinKernel4CoinC10isCoinbaseSbvp"
  },
  "title" : "isCoinbase"
}
-->

# isCoinbase

`true` if the coin was created by a coinbase (block-reward)
transaction.

```
var isCoinbase: Bool { get }
```

## Discussion

Coinbase coins are subject to the 100-block maturity rule: they
cannot be spent until 100 additional blocks have been confirmed on
top of the block that created them. The kernel enforces this
during [`processBlock(_:)`](/documentation/BitcoinKernel/ChainstateManager/processBlock(_:)).