BlockDetails constructor
const
BlockDetails({
- required BigInt? baseFeePerGas,
- required int difficulty,
- required List<
String> transactionIds, - required List<
TransactionInfo> transactions, - required String extraData,
- required BigInt gasLimit,
- required BigInt gasUsed,
- required String? hash,
- required String logsBloom,
- required String? miner,
- required String mixHash,
- required int? nonce,
- required int number,
- required String parentHash,
- required String receiptsRoot,
- required String sha3Uncles,
- required int size,
- required String stateRoot,
- required String timestamp,
- required String? totalDifficulty,
- required String transactionsRoot,
- required List uncles,
- required List<
Withdrawal> withdrawals, - required String? withdrawalsRoot,
Implementation
const BlockDetails({
required this.baseFeePerGas,
required this.difficulty,
required this.transactionIds,
required this.transactions,
required this.extraData,
required this.gasLimit,
required this.gasUsed,
required this.hash,
required this.logsBloom,
required this.miner,
required this.mixHash,
required this.nonce,
required this.number,
required this.parentHash,
required this.receiptsRoot,
required this.sha3Uncles,
required this.size,
required this.stateRoot,
required this.timestamp,
required this.totalDifficulty,
required this.transactionsRoot,
required this.uncles,
required this.withdrawals,
required this.withdrawalsRoot,
});