@rabby-wallet/rabby-api 0.9.45-alpha → 0.9.45-beta.1
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.d.ts +0 -3
- package/dist/index.js +0 -8
- package/dist/types.d.ts +3 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -52,9 +52,6 @@ export declare class OpenApiService {
|
|
|
52
52
|
excluded_protocol_ids: string[];
|
|
53
53
|
excluded_chain_ids: string[];
|
|
54
54
|
}) => Promise<TotalBalanceResponse>;
|
|
55
|
-
get24hTotalBalance: (address: string) => Promise<{
|
|
56
|
-
total_usd_value: number;
|
|
57
|
-
}>;
|
|
58
55
|
getPendingCount: (address: string) => Promise<{
|
|
59
56
|
total_count: number;
|
|
60
57
|
chains: ChainWithPendingCount[];
|
package/dist/index.js
CHANGED
|
@@ -134,14 +134,6 @@ export class OpenApiService {
|
|
|
134
134
|
});
|
|
135
135
|
return data;
|
|
136
136
|
});
|
|
137
|
-
this.get24hTotalBalance = (address) => __awaiter(this, void 0, void 0, function* () {
|
|
138
|
-
const { data } = yield this.request.get('/v1/user/total_balance_24h', {
|
|
139
|
-
params: {
|
|
140
|
-
id: address,
|
|
141
|
-
},
|
|
142
|
-
});
|
|
143
|
-
return data;
|
|
144
|
-
});
|
|
145
137
|
this.getPendingCount = (address) => __awaiter(this, void 0, void 0, function* () {
|
|
146
138
|
const { data } = yield this.request.get('/v1/wallet/pending_tx_count', {
|
|
147
139
|
params: {
|
package/dist/types.d.ts
CHANGED
|
@@ -786,6 +786,9 @@ export interface PortfolioItemDetail {
|
|
|
786
786
|
usd_value?: number;
|
|
787
787
|
daily_unlock_amount: number;
|
|
788
788
|
pnl_usd_value: number;
|
|
789
|
+
amount?: number;
|
|
790
|
+
price?: number;
|
|
791
|
+
name?: string;
|
|
789
792
|
}
|
|
790
793
|
export interface PortfolioItem {
|
|
791
794
|
asset_token_list: TokenItem[];
|