getProfiles method

Future<Response> getProfiles({
  1. bool? active,
})

Get profiles

Gets a list of all of the current user's profiles.

https://docs.cloud.coinbase.com/exchange/reference/exchangerestapi_getprofiles

Implementation

Future<http.Response> getProfiles({
  bool? active,
}) async {
  Map<String, dynamic> queryParameters = {};
  if (active != null) queryParameters['active'] = active;

  return get(
    path: '/profiles',
    queryParameters: queryParameters,
  );
}