import 'package:bind_api/api.dart';All URIs are relative to https://api.thebind.uk/v1
| Method | HTTP request | Description |
|---|---|---|
| adjustFiatWalletBalance | POST /staging/fiat/wallet/adjust/ | Change balance of a fiat wallet |
| fillCryptoWallet | POST /staging/crypto/wallet/fill/ | Put some testnet assets in a crypto wallet of a current user |
| fireblocksPoolBalances | GET /staging/fireblocks_pool/balances/ | Get pool balances |
adjustFiatWalletBalance(adjustFiatWalletBalanceRequest)
Change balance of a fiat wallet
Change balance of a fiat wallet
import 'package:bind_api/api.dart';
// TODO Configure HTTP basic authorization: bearerAuth
//defaultApiClient.getAuthentication<HttpBasicAuth>('bearerAuth').username = 'YOUR_USERNAME'
//defaultApiClient.getAuthentication<HttpBasicAuth>('bearerAuth').password = 'YOUR_PASSWORD';
final api = BindApi().getStagingApi();
final AdjustFiatWalletBalanceRequest adjustFiatWalletBalanceRequest = ; // AdjustFiatWalletBalanceRequest |
try {
api.adjustFiatWalletBalance(adjustFiatWalletBalanceRequest);
} catch on DioError (e) {
print('Exception when calling StagingApi->adjustFiatWalletBalance: $e\n');
}| Name | Type | Description | Notes |
|---|---|---|---|
| adjustFiatWalletBalanceRequest | AdjustFiatWalletBalanceRequest | [optional] |
void (empty response body)
- Content-Type: application/json
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
fillCryptoWallet()
Put some testnet assets in a crypto wallet of a current user
Assets come in little amounts because it is hard to find generous testnet faucets
import 'package:bind_api/api.dart';
// TODO Configure HTTP basic authorization: bearerAuth
//defaultApiClient.getAuthentication<HttpBasicAuth>('bearerAuth').username = 'YOUR_USERNAME'
//defaultApiClient.getAuthentication<HttpBasicAuth>('bearerAuth').password = 'YOUR_PASSWORD';
final api = BindApi().getStagingApi();
try {
api.fillCryptoWallet();
} catch on DioError (e) {
print('Exception when calling StagingApi->fillCryptoWallet: $e\n');
}This endpoint does not need any parameter.
void (empty response body)
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
fireblocksPoolBalances()
Get pool balances
Get fireblocks main and withdraw pools balances
import 'package:bind_api/api.dart';
// TODO Configure HTTP basic authorization: bearerAuth
//defaultApiClient.getAuthentication<HttpBasicAuth>('bearerAuth').username = 'YOUR_USERNAME'
//defaultApiClient.getAuthentication<HttpBasicAuth>('bearerAuth').password = 'YOUR_PASSWORD';
final api = BindApi().getStagingApi();
try {
api.fireblocksPoolBalances();
} catch on DioError (e) {
print('Exception when calling StagingApi->fireblocksPoolBalances: $e\n');
}This endpoint does not need any parameter.
void (empty response body)
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]