@rabby-wallet/rabby-api 0.9.14-beta.1 → 0.9.14
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 -10
- package/dist/types.d.ts +0 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -349,9 +349,6 @@ export declare class OpenApiService {
|
|
|
349
349
|
hasTransfer: (chainId: string, from: string, to: string) => Promise<{
|
|
350
350
|
has_transfer: boolean;
|
|
351
351
|
}>;
|
|
352
|
-
hasTransferAllChain: (from: string, to: string) => Promise<{
|
|
353
|
-
has_transfer: boolean;
|
|
354
|
-
}>;
|
|
355
352
|
isTokenContract: (chainId: string, id: string) => Promise<{
|
|
356
353
|
is_token: boolean;
|
|
357
354
|
}>;
|
package/dist/index.js
CHANGED
|
@@ -752,16 +752,6 @@ export class OpenApiService {
|
|
|
752
752
|
});
|
|
753
753
|
return data;
|
|
754
754
|
});
|
|
755
|
-
// 全链两个地址是否发生过转账
|
|
756
|
-
this.hasTransferAllChain = (from, to) => __awaiter(this, void 0, void 0, function* () {
|
|
757
|
-
const { data } = yield this.request.get('/v2/engine/addr/has_transfer', {
|
|
758
|
-
params: {
|
|
759
|
-
from_addr: from,
|
|
760
|
-
to_addr: to,
|
|
761
|
-
},
|
|
762
|
-
});
|
|
763
|
-
return data;
|
|
764
|
-
});
|
|
765
755
|
this.isTokenContract = (chainId, id) => __awaiter(this, void 0, void 0, function* () {
|
|
766
756
|
const { data } = yield this.request.get('/v1/engine/contract/is_token', {
|
|
767
757
|
params: {
|
package/dist/types.d.ts
CHANGED