BlockDetails class

Represents details about an Ethereum block.

Constructors

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})
const
BlockDetails.fromJson(Map<String, dynamic> json, {bool hydrated = true})
factory

Properties

baseFeePerGas BigInt?
final
difficulty int
final
extraData String
final
gasLimit BigInt
final
gasUsed BigInt
final
hash String?
final
hashCode int
The hash code for this object.
no setterinherited
logsBloom String
final
miner String?
final
mixHash String
final
nonce int?
final
number int
final
parentHash String
final
receiptsRoot String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sha3Uncles String
final
size int
final
stateRoot String
final
timestamp String
final
totalDifficulty String?
final
transactionIds List<String>
final
transactions List<TransactionInfo>
final
transactionsRoot String
final
uncles List
final
withdrawals List<Withdrawal>
final
withdrawalsRoot String?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited