transferFundsBetweenProfiles method
Transfer funds between profiles
Transfer an amount of currency from one profile to another.
https://docs.cloud.coinbase.com/exchange/reference/exchangerestapi_postprofiletransfer
Implementation
Future<http.Response> transferFundsBetweenProfiles({
required String from,
required String to,
required String currency,
required double amount,
}) async {
Map<String, dynamic> body = {
'from': from,
'to': to,
'currency': currency,
'amount': amount,
};
return post(
path: '/profiles/transfer',
body: body,
);
}