Taproot Coinbase

To generate a coinbase transaction with a taproot script pubkey, use the taproot keyword argument and provide the internal key and optionally the leaves just as in a normal Taproot output.

Taproot coinbase
# Mine block with taproot coinbase
extend_chain taproot: { internal_key: @bob, (1)
                        leaves: ['pk(@carol)', 'pk(@alice)'] }
1 Use the taproot keyword with the internal_key and leaves arguments