Btcb2SpentOutput({required this.amountSats, required List<int> scriptPubKey}) : scriptPubKey = List<int>.unmodifiable(scriptPubKey);