AccountsClient class
A Client that helps manage accounts and returns coinbase_exchange objects.
Constructors
- AccountsClient({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
-
getAccount(
{required String accountId}) → Future< Account> - Get a single account by id
-
getAccountLedger(
{required String accountId, DateTime? startDate, DateTime? endDate, DateTime? before, DateTime? after, int? limit}) → Future< Paginator< LedgerEntry, DateTime> > - Get a single account's ledger
-
getAccountTransfers(
{required String accountId, DateTime? before, DateTime? after, int? limit, TransferEnum? transferType}) → Future< Paginator< Transfer, DateTime> > - Get a single account's transfers
-
getHolds(
{required String accountId, DateTime? before, DateTime? after, int? limit}) → Future< Paginator< Hold, DateTime> > - Get a single account's holds
-
listAccounts(
) → Future< List< Account> > - Get a list of trading accounts from the profile of the API key.
-
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
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited