Chain constructor
const
Chain({
- required int id,
- required String name,
- ChainNativeCurrency? nativeCurrency,
- Map<
String, ChainRpcUrls> ? rpcUrls, - Map<
String, ChainBlockExplorer> ? blockExplorers, - int? sourceId,
- bool? testnet,
- Map<
String, dynamic> ? custom, - ChainFees? fees,
- ChainFormatters? formatters,
- ChainSerializers? serializers,
- Map<
String, ChainContract> ? contracts,
Implementation
const Chain({
required this.id,
required this.name,
this.nativeCurrency,
this.rpcUrls,
this.blockExplorers,
this.sourceId,
this.testnet,
this.custom,
this.fees,
this.formatters,
this.serializers,
this.contracts,
});