menu
web3_universal_compat package
documentation
dart_web3_compat.dart
PublicClient
getChainId method
getChainId method
dark_mode
light_mode
getChainId
method
Future
<
int
>
getChainId
(
)
Gets the chain ID.
Implementation
Future<int> getChainId() async { return provider.getChainId(); }
web3_universal_compat package
documentation
dart_web3_compat
PublicClient
getChainId method
PublicClient class