generateCryptoAddress method

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

Generate crypto address

Generates a one-time crypto address for depositing crypto.

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

Implementation

Future<http.Response> generateCryptoAddress({
  required String accountId,
}) async =>
    post(path: '/coinbase-accounts/$accountId/addresses');