getChainId method

  1. @override
Future<int> getChainId()
override

Implementation

@override
Future<int> getChainId() async {
  final ledgerInfo = await getLedgerInfo();
  final chainId = ledgerInfo["chain_id"];
  return chainId;
}