Block constructor

const Block({
  1. required String blockhash,
  2. required String previousBlockhash,
  3. required int parentSlot,
  4. required List<Transaction> transactions,
  5. required Meta? meta,
  6. required List<String> signatures,
  7. required List<Reward> rewards,
  8. required int? blockTime,
  9. required int? blockHeight,
})

Implementation

const Block({
  required this.blockhash,
  required this.previousBlockhash,
  required this.parentSlot,
  required this.transactions,
  required this.meta,
  required this.signatures,
  required this.rewards,
  required this.blockTime,
  required this.blockHeight,
});