TransfersClient class

A Client that helps manage transfers and returns coinbase_exchange objects.

Inheritance

Constructors

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

Properties

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

Methods

depositFromCoinbaseAccount({String? profileId, required double amount, required String coinbaseAccountId, required String currency}) Future<Transaction>
Deposit from Coinbase account
depositFromPaymentMethod({String? profileId, required double amount, required String paymentMethodId, required String currency}) Future<Transaction>
Deposit from payment method
getAllPaymentMethods() Future<List<PaymentMethod>>
Get all payment methods
getAllTransfers() Future<List<Transfer>>
Get all transfers
getFeeEstimateForCryptoWithdrawal({String? currency, String? cryptoAddress}) Future<double>
Get fee estimate for crypto withdrawal
getTransfer({required String transferId}) Future<Transfer>
Get a single transfer
listDecode(String body) List<Map<String, dynamic>>
A helper function to decode lists from coinbase
inherited
mapDecode(String body) Map<String, dynamic>
A helper function to decode maps from coinbase
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
withdrawToCoinbaseAccount({String? profileId, required double amount, required String coinbaseAccountId, required String currency}) Future<Transaction>
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<Transaction>
Withdraw to crypto address
withdrawToPaymentMethod({String? profileId, required double amount, required String paymentMethodId, required String currency}) Future<Transaction>
Withdraw to payment method

Operators

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