toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() => {
      'id': id,
      'name': name,
      'symbol': symbol,
      'coinType': coinType,
      'curve': curve,
      'defaultFormat': defaultFormat,
      'defaultScriptType': defaultScriptType,
      'p2pkh': BytesUtils.toHexString(p2pkh),
      'p2sh': BytesUtils.toHexString(p2sh),
      'hrp': hrp,
    };