ChainDataFetcher class

Fetches chain data from a provider

This class handles all RPC calls to fetch chain data like genesis hash, block information, runtime version, and account nonces. It provides both individual fetch methods and a batch fetch method for efficiency.

Constructors

ChainDataFetcher(Provider provider)

Properties

hashCode int
The hash code for this object.
no setterinherited
provider Provider
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

fetchLatestHeader() Future<BlockHeader>
Fetch latest block header
fetchStandardData({String? accountAddress}) Future<ChainData>
Fetch all standard chain data in parallel
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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