Block constructor

Block({
  1. required String hash,
  2. required String parentHash,
  3. required BigInt number,
  4. required BigInt timestamp,
  5. required String miner,
  6. required BigInt gasLimit,
  7. required BigInt gasUsed,
  8. required List<String> transactions,
  9. BigInt? baseFeePerGas,
})

Implementation

Block({
  required this.hash,
  required this.parentHash,
  required this.number,
  required this.timestamp,
  required this.miner,
  required this.gasLimit,
  required this.gasUsed,
  required this.transactions,
  this.baseFeePerGas,
});