@rabby-wallet/rabby-api 0.9.5-beta.0 → 0.9.5-beta.2
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.
- package/dist/index.js +7 -9
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -124,15 +124,13 @@ export class OpenApiService {
|
|
|
124
124
|
return data;
|
|
125
125
|
});
|
|
126
126
|
this.getTotalBalanceV2 = ({ address, isCore = false, included_token_uuids = [], excluded_token_uuids = [], excluded_protocol_ids = [], excluded_chain_ids = [], }) => __awaiter(this, void 0, void 0, function* () {
|
|
127
|
-
const { data } = yield this.request.
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
excluded_chain_ids: excluded_chain_ids,
|
|
135
|
-
},
|
|
127
|
+
const { data } = yield this.request.post('/v2/user/total_balance', {
|
|
128
|
+
id: address,
|
|
129
|
+
is_core: isCore,
|
|
130
|
+
included_token_uuids: included_token_uuids,
|
|
131
|
+
excluded_token_uuids: excluded_token_uuids,
|
|
132
|
+
excluded_protocol_ids: excluded_protocol_ids,
|
|
133
|
+
excluded_chain_ids: excluded_chain_ids,
|
|
136
134
|
});
|
|
137
135
|
return data;
|
|
138
136
|
});
|