properties method
Returns the chain properties as a JSON object.
Properties typically include:
ss58Format: The SS58 address format prefixtokenDecimals: Number of decimals for the native tokentokenSymbol: Symbol of the native token
Implementation
Future<Map<String, dynamic>> properties() async {
final response = await _provider.send('chainSpec_v1_properties', const []);
if (response.error != null) {
throw Exception(response.error.toString());
}
return Map<String, dynamic>.from(response.result as Map);
}