getAccount method

Future<Response> getAccount({
  1. required String accountId,
})

Get a single account by id

Information for a single account. Use this endpoint when you know the account_id. API key must belong to the same profile as the account.

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

Implementation

Future<http.Response> getAccount({
  required String accountId,
}) async =>
    get(path: '/accounts/$accountId');