TransfersRestClient class

A RestClient that helps manage transfers and returns http.Response objects.

Inheritance

Constructors

TransfersRestClient({bool sandbox = false, required String apiKey, required String secretKey, required String passphrase})

Properties

apiKey String?
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
passphrase String?
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sandbox bool
finalinherited
secretKey String?
getter/setter pairinherited

Methods

createPaginationQueryParameters({int? before, int? after, int? limit}) Map<String, dynamic>
inherited
delete({required String path, Map<String, String>? headers, Map<String, dynamic>? queryParameters}) Future<Response>
A DELETE method for coinbase exchange which automatically manages signing for authorization.
inherited
depositFromCoinbaseAccount({String? profileId, required double amount, required String coinbaseAccountId, required String currency}) Future<Response>
Deposit from Coinbase account
depositFromPaymentMethod({String? profileId, required double amount, required String paymentMethodId, required String currency}) Future<Response>
Deposit from payment method
get({required String path, Map<String, String>? headers, Map<String, dynamic>? queryParameters}) Future<Response>
A GET method for coinbase exchange which automatically manages signing for authorization.
inherited
getAfterHeader(Response response) int?
inherited
getAllPaymentMethods() Future<Response>
Get all payment methods
getAllTransfers() Future<Response>
Get all transfers
getBeforeHeader(Response response) int?
inherited
getFeeEstimateForCryptoWithdrawal({String? currency, String? cryptoAddress}) Future<Response>
Get fee estimate for crypto withdrawal
getTransfer({required String transferId}) Future<Response>
Get a single transfer
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
post({required String path, Map<String, String>? headers, Map<String, dynamic>? body}) Future<Response>
A POST method for coinbase exchange which automatically manages signing for authorization.
inherited
put({required String path, Map<String, String>? headers, Map<String, dynamic>? body}) Future<Response>
A PUT method for coinbase exchange which automatically manages signing for authorization.
inherited
toString() String
A string representation of this object.
inherited
withdrawToCoinbaseAccount({String? profileId, required double amount, required String coinbaseAccountId, required String currency}) Future<Response>
Withdraw to Coinbase account
withdrawToCryptoAddress({String? profileId, required double amount, required String currency, required String cryptoAddress, String? destinationTag, bool? noDestinationTag, String? twoFactorCode, int? nonce, String? fee}) Future<Response>
Withdraw to crypto address
withdrawToPaymentMethod({String? profileId, required double amount, required String paymentMethodId, required String currency}) Future<Response>
Withdraw to payment method

Operators

operator ==(Object other) bool
The equality operator.
inherited