getCurrency method

Future<Response> getCurrency({
  1. required String currencyId,
})

Get a currency

Gets a single currency by id. Currency codes will conform to the ISO 4217 standard where possible. Currencies which have or had no representation in ISO 4217 may use a custom code.

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

Implementation

Future<http.Response> getCurrency({
  required String currencyId,
}) async =>
    get(path: '/currencies/$currencyId');