@riocrypto/common 1.0.682 → 1.0.684
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -85,6 +85,9 @@ export declare class RioAdminClient {
|
|
|
85
85
|
volume: number;
|
|
86
86
|
revenue: number;
|
|
87
87
|
}>;
|
|
88
|
+
getBistoX(bidPrice: number, bidAmount: number): Promise<{
|
|
89
|
+
x: number;
|
|
90
|
+
}>;
|
|
88
91
|
getPaymentMethods(fiat: Fiat, country: Country): Promise<PaymentMethod[]>;
|
|
89
92
|
getBankAccounts(page: number, limit: number): Promise<BankAccount[]>;
|
|
90
93
|
getSupportedPayoutMethods(fiat: Fiat, country: Country): Promise<PayoutMethod[]>;
|
|
@@ -324,6 +324,14 @@ class RioAdminClient {
|
|
|
324
324
|
return response.data;
|
|
325
325
|
});
|
|
326
326
|
}
|
|
327
|
+
getBistoX(bidPrice, bidAmount) {
|
|
328
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
329
|
+
const response = yield this.axios.get(`/api/admin/bitso/x`, {
|
|
330
|
+
params: { bidPrice, bidAmount },
|
|
331
|
+
});
|
|
332
|
+
return response.data;
|
|
333
|
+
});
|
|
334
|
+
}
|
|
327
335
|
getPaymentMethods(fiat, country) {
|
|
328
336
|
return __awaiter(this, void 0, void 0, function* () {
|
|
329
337
|
const response = yield this.axios.get(`/api/payment-methods?fiat=${fiat}&country=${country}`);
|