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