@metamask/core-backend 5.0.0 → 5.1.0
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/CHANGELOG.md +25 -1
- package/README.md +252 -1
- package/dist/AccountActivityService.cjs +1 -1
- package/dist/AccountActivityService.cjs.map +1 -1
- package/dist/AccountActivityService.mjs +1 -1
- package/dist/AccountActivityService.mjs.map +1 -1
- package/dist/BackendWebSocketService.cjs +5 -3
- package/dist/BackendWebSocketService.cjs.map +1 -1
- package/dist/BackendWebSocketService.d.cts +2 -2
- package/dist/BackendWebSocketService.d.cts.map +1 -1
- package/dist/BackendWebSocketService.d.mts +2 -2
- package/dist/BackendWebSocketService.d.mts.map +1 -1
- package/dist/BackendWebSocketService.mjs +5 -3
- package/dist/BackendWebSocketService.mjs.map +1 -1
- package/dist/api/ApiPlatformClient.cjs +177 -0
- package/dist/api/ApiPlatformClient.cjs.map +1 -0
- package/dist/api/ApiPlatformClient.d.cts +127 -0
- package/dist/api/ApiPlatformClient.d.cts.map +1 -0
- package/dist/api/ApiPlatformClient.d.mts +127 -0
- package/dist/api/ApiPlatformClient.d.mts.map +1 -0
- package/dist/api/ApiPlatformClient.mjs +172 -0
- package/dist/api/ApiPlatformClient.mjs.map +1 -0
- package/dist/api/accounts/client.cjs +492 -0
- package/dist/api/accounts/client.cjs.map +1 -0
- package/dist/api/accounts/client.d.cts +213 -0
- package/dist/api/accounts/client.d.cts.map +1 -0
- package/dist/api/accounts/client.d.mts +213 -0
- package/dist/api/accounts/client.d.mts.map +1 -0
- package/dist/api/accounts/client.mjs +488 -0
- package/dist/api/accounts/client.mjs.map +1 -0
- package/dist/api/accounts/index.cjs +9 -0
- package/dist/api/accounts/index.cjs.map +1 -0
- package/dist/api/accounts/index.d.cts +6 -0
- package/dist/api/accounts/index.d.cts.map +1 -0
- package/dist/api/accounts/index.d.mts +6 -0
- package/dist/api/accounts/index.d.mts.map +1 -0
- package/dist/api/accounts/index.mjs +5 -0
- package/dist/api/accounts/index.mjs.map +1 -0
- package/dist/api/accounts/types.cjs +7 -0
- package/dist/api/accounts/types.cjs.map +1 -0
- package/dist/api/accounts/types.d.cts +195 -0
- package/dist/api/accounts/types.d.cts.map +1 -0
- package/dist/api/accounts/types.d.mts +195 -0
- package/dist/api/accounts/types.d.mts.map +1 -0
- package/dist/api/accounts/types.mjs +6 -0
- package/dist/api/accounts/types.mjs.map +1 -0
- package/dist/api/base-client.cjs +149 -0
- package/dist/api/base-client.cjs.map +1 -0
- package/dist/api/base-client.d.cts +54 -0
- package/dist/api/base-client.d.cts.map +1 -0
- package/dist/api/base-client.d.mts +54 -0
- package/dist/api/base-client.d.mts.map +1 -0
- package/dist/api/base-client.mjs +143 -0
- package/dist/api/base-client.mjs.map +1 -0
- package/dist/api/index.cjs +35 -0
- package/dist/api/index.cjs.map +1 -0
- package/dist/api/index.d.cts +18 -0
- package/dist/api/index.d.cts.map +1 -0
- package/dist/api/index.d.mts +18 -0
- package/dist/api/index.d.mts.map +1 -0
- package/dist/api/index.mjs +18 -0
- package/dist/api/index.mjs.map +1 -0
- package/dist/api/prices/client.cjs +521 -0
- package/dist/api/prices/client.cjs.map +1 -0
- package/dist/api/prices/client.d.cts +235 -0
- package/dist/api/prices/client.d.cts.map +1 -0
- package/dist/api/prices/client.d.mts +235 -0
- package/dist/api/prices/client.d.mts.map +1 -0
- package/dist/api/prices/client.mjs +517 -0
- package/dist/api/prices/client.mjs.map +1 -0
- package/dist/api/prices/index.cjs +9 -0
- package/dist/api/prices/index.cjs.map +1 -0
- package/dist/api/prices/index.d.cts +6 -0
- package/dist/api/prices/index.d.cts.map +1 -0
- package/dist/api/prices/index.d.mts +6 -0
- package/dist/api/prices/index.d.mts.map +1 -0
- package/dist/api/prices/index.mjs +5 -0
- package/dist/api/prices/index.mjs.map +1 -0
- package/dist/api/prices/types.cjs +7 -0
- package/dist/api/prices/types.cjs.map +1 -0
- package/dist/api/prices/types.d.cts +61 -0
- package/dist/api/prices/types.d.cts.map +1 -0
- package/dist/api/prices/types.d.mts +61 -0
- package/dist/api/prices/types.d.mts.map +1 -0
- package/dist/api/prices/types.mjs +6 -0
- package/dist/api/prices/types.mjs.map +1 -0
- package/dist/api/shared-types.cjs +93 -0
- package/dist/api/shared-types.cjs.map +1 -0
- package/dist/api/shared-types.d.cts +131 -0
- package/dist/api/shared-types.d.cts.map +1 -0
- package/dist/api/shared-types.d.mts +131 -0
- package/dist/api/shared-types.d.mts.map +1 -0
- package/dist/api/shared-types.mjs +87 -0
- package/dist/api/shared-types.mjs.map +1 -0
- package/dist/api/test-utils.cjs +70 -0
- package/dist/api/test-utils.cjs.map +1 -0
- package/dist/api/test-utils.d.cts +30 -0
- package/dist/api/test-utils.d.cts.map +1 -0
- package/dist/api/test-utils.d.mts +30 -0
- package/dist/api/test-utils.d.mts.map +1 -0
- package/dist/api/test-utils.mjs +64 -0
- package/dist/api/test-utils.mjs.map +1 -0
- package/dist/api/token/client.cjs +342 -0
- package/dist/api/token/client.cjs.map +1 -0
- package/dist/api/token/client.d.cts +193 -0
- package/dist/api/token/client.d.cts.map +1 -0
- package/dist/api/token/client.d.mts +193 -0
- package/dist/api/token/client.d.mts.map +1 -0
- package/dist/api/token/client.mjs +338 -0
- package/dist/api/token/client.mjs.map +1 -0
- package/dist/api/token/index.cjs +9 -0
- package/dist/api/token/index.cjs.map +1 -0
- package/dist/api/token/index.d.cts +6 -0
- package/dist/api/token/index.d.cts.map +1 -0
- package/dist/api/token/index.d.mts +6 -0
- package/dist/api/token/index.d.mts.map +1 -0
- package/dist/api/token/index.mjs +5 -0
- package/dist/api/token/index.mjs.map +1 -0
- package/dist/api/token/types.cjs +7 -0
- package/dist/api/token/types.cjs.map +1 -0
- package/dist/api/token/types.d.cts +75 -0
- package/dist/api/token/types.d.cts.map +1 -0
- package/dist/api/token/types.d.mts +75 -0
- package/dist/api/token/types.d.mts.map +1 -0
- package/dist/api/token/types.mjs +6 -0
- package/dist/api/token/types.mjs.map +1 -0
- package/dist/api/tokens/client.cjs +91 -0
- package/dist/api/tokens/client.cjs.map +1 -0
- package/dist/api/tokens/client.d.cts +45 -0
- package/dist/api/tokens/client.d.cts.map +1 -0
- package/dist/api/tokens/client.d.mts +45 -0
- package/dist/api/tokens/client.d.mts.map +1 -0
- package/dist/api/tokens/client.mjs +87 -0
- package/dist/api/tokens/client.mjs.map +1 -0
- package/dist/api/tokens/index.cjs +9 -0
- package/dist/api/tokens/index.cjs.map +1 -0
- package/dist/api/tokens/index.d.cts +6 -0
- package/dist/api/tokens/index.d.cts.map +1 -0
- package/dist/api/tokens/index.d.mts +6 -0
- package/dist/api/tokens/index.d.mts.map +1 -0
- package/dist/api/tokens/index.mjs +5 -0
- package/dist/api/tokens/index.mjs.map +1 -0
- package/dist/api/tokens/types.cjs +7 -0
- package/dist/api/tokens/types.cjs.map +1 -0
- package/dist/api/tokens/types.d.cts +83 -0
- package/dist/api/tokens/types.d.cts.map +1 -0
- package/dist/api/tokens/types.d.mts +83 -0
- package/dist/api/tokens/types.d.mts.map +1 -0
- package/dist/api/tokens/types.mjs +6 -0
- package/dist/api/tokens/types.mjs.map +1 -0
- package/dist/index.cjs +33 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -7
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +6 -7
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +21 -5
- package/dist/index.mjs.map +1 -1
- package/package.json +8 -11
|
@@ -0,0 +1,213 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Accounts API Client - accounts.api.cx.metamask.io
|
|
3
|
+
*
|
|
4
|
+
* Handles all account-related API calls including:
|
|
5
|
+
* - Supported networks
|
|
6
|
+
* - Active networks
|
|
7
|
+
* - Balances (v2, v4, v5)
|
|
8
|
+
* - Transactions
|
|
9
|
+
* - Relationships
|
|
10
|
+
* - NFTs
|
|
11
|
+
* - Token discovery
|
|
12
|
+
*/
|
|
13
|
+
import type { V1SupportedNetworksResponse, V2SupportedNetworksResponse, V2ActiveNetworksResponse, V2BalancesResponse, V4BalancesResponse, V5BalancesResponse, V1TransactionByHashResponse, V1AccountTransactionsResponse, V4MultiAccountTransactionsResponse, V1AccountRelationshipResult, V2NftsResponse, V2TokensResponse } from "./types.cjs";
|
|
14
|
+
import { BaseApiClient } from "../base-client.cjs";
|
|
15
|
+
import type { FetchOptions } from "../shared-types.cjs";
|
|
16
|
+
/**
|
|
17
|
+
* Accounts API Client.
|
|
18
|
+
* Provides methods for interacting with the Accounts API.
|
|
19
|
+
*/
|
|
20
|
+
export declare class AccountsApiClient extends BaseApiClient {
|
|
21
|
+
/**
|
|
22
|
+
* Invalidate all balance queries.
|
|
23
|
+
*/
|
|
24
|
+
invalidateBalances(): Promise<void>;
|
|
25
|
+
/**
|
|
26
|
+
* Invalidate all account queries.
|
|
27
|
+
*/
|
|
28
|
+
invalidateAccounts(): Promise<void>;
|
|
29
|
+
/**
|
|
30
|
+
* Get list of supported networks (v1 endpoint).
|
|
31
|
+
*
|
|
32
|
+
* @param options - Fetch options including cache settings.
|
|
33
|
+
* @returns The list of supported networks.
|
|
34
|
+
*/
|
|
35
|
+
fetchV1SupportedNetworks(options?: FetchOptions): Promise<V1SupportedNetworksResponse>;
|
|
36
|
+
/**
|
|
37
|
+
* Get list of supported networks (v2 endpoint).
|
|
38
|
+
*
|
|
39
|
+
* @param options - Fetch options including cache settings.
|
|
40
|
+
* @returns The list of supported networks.
|
|
41
|
+
*/
|
|
42
|
+
fetchV2SupportedNetworks(options?: FetchOptions): Promise<V2SupportedNetworksResponse>;
|
|
43
|
+
/**
|
|
44
|
+
* Get active networks by CAIP-10 account IDs (v2 endpoint).
|
|
45
|
+
*
|
|
46
|
+
* @param accountIds - Array of CAIP-10 account IDs.
|
|
47
|
+
* @param queryOptions - Query filter options.
|
|
48
|
+
* @param queryOptions.filterMMListTokens - Whether to filter MM list tokens.
|
|
49
|
+
* @param queryOptions.networks - Networks to filter by.
|
|
50
|
+
* @param options - Fetch options including cache settings.
|
|
51
|
+
* @returns The active networks response.
|
|
52
|
+
*/
|
|
53
|
+
fetchV2ActiveNetworks(accountIds: string[], queryOptions?: {
|
|
54
|
+
filterMMListTokens?: boolean;
|
|
55
|
+
networks?: string[];
|
|
56
|
+
}, options?: FetchOptions): Promise<V2ActiveNetworksResponse>;
|
|
57
|
+
/**
|
|
58
|
+
* Get account balances for a single address (v2 endpoint).
|
|
59
|
+
*
|
|
60
|
+
* @param address - The account address.
|
|
61
|
+
* @param queryOptions - Query filter options.
|
|
62
|
+
* @param queryOptions.networks - Networks to filter by.
|
|
63
|
+
* @param options - Fetch options including cache settings.
|
|
64
|
+
* @returns The account balances response.
|
|
65
|
+
*/
|
|
66
|
+
fetchV2Balances(address: string, queryOptions?: {
|
|
67
|
+
networks?: number[];
|
|
68
|
+
}, options?: FetchOptions): Promise<V2BalancesResponse>;
|
|
69
|
+
/**
|
|
70
|
+
* Get account balances with additional options (v2 endpoint).
|
|
71
|
+
*
|
|
72
|
+
* @param address - The account address.
|
|
73
|
+
* @param queryOptions - Query filter options.
|
|
74
|
+
* @param queryOptions.networks - Networks to filter by.
|
|
75
|
+
* @param queryOptions.filterSupportedTokens - Whether to filter supported tokens.
|
|
76
|
+
* @param queryOptions.includeTokenAddresses - Token addresses to include.
|
|
77
|
+
* @param queryOptions.includeStakedAssets - Whether to include staked assets.
|
|
78
|
+
* @param options - Fetch options including cache settings.
|
|
79
|
+
* @returns The account balances response.
|
|
80
|
+
*/
|
|
81
|
+
fetchV2BalancesWithOptions(address: string, queryOptions?: {
|
|
82
|
+
networks?: number[];
|
|
83
|
+
filterSupportedTokens?: boolean;
|
|
84
|
+
includeTokenAddresses?: string[];
|
|
85
|
+
includeStakedAssets?: boolean;
|
|
86
|
+
}, options?: FetchOptions): Promise<V2BalancesResponse>;
|
|
87
|
+
/**
|
|
88
|
+
* Get balances for multiple accounts (v4 endpoint).
|
|
89
|
+
*
|
|
90
|
+
* @param accountAddresses - Array of account addresses.
|
|
91
|
+
* @param queryOptions - Query filter options.
|
|
92
|
+
* @param queryOptions.networks - Networks to filter by.
|
|
93
|
+
* @param options - Fetch options including cache settings.
|
|
94
|
+
* @returns The multi-account balances response.
|
|
95
|
+
*/
|
|
96
|
+
fetchV4MultiAccountBalances(accountAddresses: string[], queryOptions?: {
|
|
97
|
+
networks?: number[];
|
|
98
|
+
}, options?: FetchOptions): Promise<V4BalancesResponse>;
|
|
99
|
+
/**
|
|
100
|
+
* Get balances for multiple accounts using CAIP-10 IDs (v5 endpoint).
|
|
101
|
+
*
|
|
102
|
+
* @param accountIds - Array of CAIP-10 account IDs.
|
|
103
|
+
* @param queryOptions - Query filter options.
|
|
104
|
+
* @param queryOptions.filterMMListTokens - Whether to filter MM list tokens.
|
|
105
|
+
* @param queryOptions.networks - Networks to filter by.
|
|
106
|
+
* @param queryOptions.includeStakedAssets - Whether to include staked assets.
|
|
107
|
+
* @param options - Fetch options including cache settings.
|
|
108
|
+
* @returns The multi-account balances response.
|
|
109
|
+
*/
|
|
110
|
+
fetchV5MultiAccountBalances(accountIds: string[], queryOptions?: {
|
|
111
|
+
filterMMListTokens?: boolean;
|
|
112
|
+
networks?: string[];
|
|
113
|
+
includeStakedAssets?: boolean;
|
|
114
|
+
}, options?: FetchOptions): Promise<V5BalancesResponse>;
|
|
115
|
+
/**
|
|
116
|
+
* Get a specific transaction by hash (v1 endpoint).
|
|
117
|
+
*
|
|
118
|
+
* @param chainId - The chain ID.
|
|
119
|
+
* @param txHash - The transaction hash.
|
|
120
|
+
* @param queryOptions - Query filter options.
|
|
121
|
+
* @param queryOptions.includeLogs - Whether to include logs.
|
|
122
|
+
* @param queryOptions.includeValueTransfers - Whether to include value transfers.
|
|
123
|
+
* @param queryOptions.includeTxMetadata - Whether to include transaction metadata.
|
|
124
|
+
* @param queryOptions.lang - Language for metadata.
|
|
125
|
+
* @param options - Fetch options including cache settings.
|
|
126
|
+
* @returns The transaction details.
|
|
127
|
+
*/
|
|
128
|
+
fetchV1TransactionByHash(chainId: number, txHash: string, queryOptions?: {
|
|
129
|
+
includeLogs?: boolean;
|
|
130
|
+
includeValueTransfers?: boolean;
|
|
131
|
+
includeTxMetadata?: boolean;
|
|
132
|
+
lang?: string;
|
|
133
|
+
}, options?: FetchOptions): Promise<V1TransactionByHashResponse>;
|
|
134
|
+
/**
|
|
135
|
+
* Get account transactions (v1 endpoint).
|
|
136
|
+
*
|
|
137
|
+
* @param address - The account address.
|
|
138
|
+
* @param queryOptions - Query filter options.
|
|
139
|
+
* @param queryOptions.chainIds - Chain IDs to filter by.
|
|
140
|
+
* @param queryOptions.cursor - Pagination cursor.
|
|
141
|
+
* @param queryOptions.startTimestamp - Start timestamp filter.
|
|
142
|
+
* @param queryOptions.endTimestamp - End timestamp filter.
|
|
143
|
+
* @param queryOptions.sortDirection - Sort direction (ASC/DESC).
|
|
144
|
+
* @param options - Fetch options including cache settings.
|
|
145
|
+
* @returns The account transactions response.
|
|
146
|
+
*/
|
|
147
|
+
fetchV1AccountTransactions(address: string, queryOptions?: {
|
|
148
|
+
chainIds?: string[];
|
|
149
|
+
cursor?: string;
|
|
150
|
+
startTimestamp?: number;
|
|
151
|
+
endTimestamp?: number;
|
|
152
|
+
sortDirection?: 'ASC' | 'DESC';
|
|
153
|
+
}, options?: FetchOptions): Promise<V1AccountTransactionsResponse>;
|
|
154
|
+
/**
|
|
155
|
+
* Get multi-account transactions (v4 endpoint).
|
|
156
|
+
*
|
|
157
|
+
* @param accountIds - Array of CAIP-10 account IDs.
|
|
158
|
+
* @param queryOptions - Query filter options.
|
|
159
|
+
* @param queryOptions.networks - Networks to filter by.
|
|
160
|
+
* @param queryOptions.cursor - Pagination cursor.
|
|
161
|
+
* @param queryOptions.sortDirection - Sort direction (ASC/DESC).
|
|
162
|
+
* @param queryOptions.includeLogs - Whether to include logs.
|
|
163
|
+
* @param queryOptions.includeValueTransfers - Whether to include value transfers.
|
|
164
|
+
* @param queryOptions.includeTxMetadata - Whether to include transaction metadata.
|
|
165
|
+
* @param options - Fetch options including cache settings.
|
|
166
|
+
* @returns The multi-account transactions response.
|
|
167
|
+
*/
|
|
168
|
+
fetchV4MultiAccountTransactions(accountIds: string[], queryOptions?: {
|
|
169
|
+
networks?: string[];
|
|
170
|
+
cursor?: string;
|
|
171
|
+
sortDirection?: 'ASC' | 'DESC';
|
|
172
|
+
includeLogs?: boolean;
|
|
173
|
+
includeValueTransfers?: boolean;
|
|
174
|
+
includeTxMetadata?: boolean;
|
|
175
|
+
}, options?: FetchOptions): Promise<V4MultiAccountTransactionsResponse>;
|
|
176
|
+
/**
|
|
177
|
+
* Get account address relationship (v1 endpoint).
|
|
178
|
+
*
|
|
179
|
+
* @param chainId - The chain ID.
|
|
180
|
+
* @param from - The from address.
|
|
181
|
+
* @param to - The to address.
|
|
182
|
+
* @param options - Fetch options including cache settings.
|
|
183
|
+
* @returns The account relationship result.
|
|
184
|
+
*/
|
|
185
|
+
fetchV1AccountRelationship(chainId: number, from: string, to: string, options?: FetchOptions): Promise<V1AccountRelationshipResult>;
|
|
186
|
+
/**
|
|
187
|
+
* Get NFTs owned by an account (v2 endpoint).
|
|
188
|
+
*
|
|
189
|
+
* @param address - The account address.
|
|
190
|
+
* @param queryOptions - Query filter options.
|
|
191
|
+
* @param queryOptions.networks - Networks to filter by.
|
|
192
|
+
* @param queryOptions.cursor - Pagination cursor.
|
|
193
|
+
* @param options - Fetch options including cache settings.
|
|
194
|
+
* @returns The NFTs response.
|
|
195
|
+
*/
|
|
196
|
+
fetchV2AccountNfts(address: string, queryOptions?: {
|
|
197
|
+
networks?: number[];
|
|
198
|
+
cursor?: string;
|
|
199
|
+
}, options?: FetchOptions): Promise<V2NftsResponse>;
|
|
200
|
+
/**
|
|
201
|
+
* Get ERC20 tokens detected for an account (v2 endpoint).
|
|
202
|
+
*
|
|
203
|
+
* @param address - The account address.
|
|
204
|
+
* @param queryOptions - Query filter options.
|
|
205
|
+
* @param queryOptions.networks - Networks to filter by.
|
|
206
|
+
* @param options - Fetch options including cache settings.
|
|
207
|
+
* @returns The tokens response.
|
|
208
|
+
*/
|
|
209
|
+
fetchV2AccountTokens(address: string, queryOptions?: {
|
|
210
|
+
networks?: number[];
|
|
211
|
+
}, options?: FetchOptions): Promise<V2TokensResponse>;
|
|
212
|
+
}
|
|
213
|
+
//# sourceMappingURL=client.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"client.d.cts","sourceRoot":"","sources":["../../../src/api/accounts/client.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAIH,OAAO,KAAK,EACV,2BAA2B,EAC3B,2BAA2B,EAC3B,wBAAwB,EACxB,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,2BAA2B,EAC3B,6BAA6B,EAC7B,kCAAkC,EAClC,2BAA2B,EAC3B,cAAc,EACd,gBAAgB,EACjB,oBAAgB;AACjB,OAAO,EACL,aAAa,EAKd,2BAAuB;AACxB,OAAO,KAAK,EAAE,YAAY,EAAE,4BAAwB;AAEpD;;;GAGG;AACH,qBAAa,iBAAkB,SAAQ,aAAa;IAKlD;;OAEG;IACG,kBAAkB,IAAI,OAAO,CAAC,IAAI,CAAC;IAMzC;;OAEG;IACG,kBAAkB,IAAI,OAAO,CAAC,IAAI,CAAC;IAUzC;;;;;OAKG;IACG,wBAAwB,CAC5B,OAAO,CAAC,EAAE,YAAY,GACrB,OAAO,CAAC,2BAA2B,CAAC;IAcvC;;;;;OAKG;IACG,wBAAwB,CAC5B,OAAO,CAAC,EAAE,YAAY,GACrB,OAAO,CAAC,2BAA2B,CAAC;IAkBvC;;;;;;;;;OASG;IACG,qBAAqB,CACzB,UAAU,EAAE,MAAM,EAAE,EACpB,YAAY,CAAC,EAAE;QAAE,kBAAkB,CAAC,EAAE,OAAO,CAAC;QAAC,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAA;KAAE,EACpE,OAAO,CAAC,EAAE,YAAY,GACrB,OAAO,CAAC,wBAAwB,CAAC;IAoCpC;;;;;;;;O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CAAC;IAmC1B;;;;;;;;OAQG;IACG,oBAAoB,CACxB,OAAO,EAAE,MAAM,EACf,YAAY,CAAC,EAAE;QAAE,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAA;KAAE,EACtC,OAAO,CAAC,EAAE,YAAY,GACrB,OAAO,CAAC,gBAAgB,CAAC;CA2B7B"}
|
|
@@ -0,0 +1,213 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Accounts API Client - accounts.api.cx.metamask.io
|
|
3
|
+
*
|
|
4
|
+
* Handles all account-related API calls including:
|
|
5
|
+
* - Supported networks
|
|
6
|
+
* - Active networks
|
|
7
|
+
* - Balances (v2, v4, v5)
|
|
8
|
+
* - Transactions
|
|
9
|
+
* - Relationships
|
|
10
|
+
* - NFTs
|
|
11
|
+
* - Token discovery
|
|
12
|
+
*/
|
|
13
|
+
import type { V1SupportedNetworksResponse, V2SupportedNetworksResponse, V2ActiveNetworksResponse, V2BalancesResponse, V4BalancesResponse, V5BalancesResponse, V1TransactionByHashResponse, V1AccountTransactionsResponse, V4MultiAccountTransactionsResponse, V1AccountRelationshipResult, V2NftsResponse, V2TokensResponse } from "./types.mjs";
|
|
14
|
+
import { BaseApiClient } from "../base-client.mjs";
|
|
15
|
+
import type { FetchOptions } from "../shared-types.mjs";
|
|
16
|
+
/**
|
|
17
|
+
* Accounts API Client.
|
|
18
|
+
* Provides methods for interacting with the Accounts API.
|
|
19
|
+
*/
|
|
20
|
+
export declare class AccountsApiClient extends BaseApiClient {
|
|
21
|
+
/**
|
|
22
|
+
* Invalidate all balance queries.
|
|
23
|
+
*/
|
|
24
|
+
invalidateBalances(): Promise<void>;
|
|
25
|
+
/**
|
|
26
|
+
* Invalidate all account queries.
|
|
27
|
+
*/
|
|
28
|
+
invalidateAccounts(): Promise<void>;
|
|
29
|
+
/**
|
|
30
|
+
* Get list of supported networks (v1 endpoint).
|
|
31
|
+
*
|
|
32
|
+
* @param options - Fetch options including cache settings.
|
|
33
|
+
* @returns The list of supported networks.
|
|
34
|
+
*/
|
|
35
|
+
fetchV1SupportedNetworks(options?: FetchOptions): Promise<V1SupportedNetworksResponse>;
|
|
36
|
+
/**
|
|
37
|
+
* Get list of supported networks (v2 endpoint).
|
|
38
|
+
*
|
|
39
|
+
* @param options - Fetch options including cache settings.
|
|
40
|
+
* @returns The list of supported networks.
|
|
41
|
+
*/
|
|
42
|
+
fetchV2SupportedNetworks(options?: FetchOptions): Promise<V2SupportedNetworksResponse>;
|
|
43
|
+
/**
|
|
44
|
+
* Get active networks by CAIP-10 account IDs (v2 endpoint).
|
|
45
|
+
*
|
|
46
|
+
* @param accountIds - Array of CAIP-10 account IDs.
|
|
47
|
+
* @param queryOptions - Query filter options.
|
|
48
|
+
* @param queryOptions.filterMMListTokens - Whether to filter MM list tokens.
|
|
49
|
+
* @param queryOptions.networks - Networks to filter by.
|
|
50
|
+
* @param options - Fetch options including cache settings.
|
|
51
|
+
* @returns The active networks response.
|
|
52
|
+
*/
|
|
53
|
+
fetchV2ActiveNetworks(accountIds: string[], queryOptions?: {
|
|
54
|
+
filterMMListTokens?: boolean;
|
|
55
|
+
networks?: string[];
|
|
56
|
+
}, options?: FetchOptions): Promise<V2ActiveNetworksResponse>;
|
|
57
|
+
/**
|
|
58
|
+
* Get account balances for a single address (v2 endpoint).
|
|
59
|
+
*
|
|
60
|
+
* @param address - The account address.
|
|
61
|
+
* @param queryOptions - Query filter options.
|
|
62
|
+
* @param queryOptions.networks - Networks to filter by.
|
|
63
|
+
* @param options - Fetch options including cache settings.
|
|
64
|
+
* @returns The account balances response.
|
|
65
|
+
*/
|
|
66
|
+
fetchV2Balances(address: string, queryOptions?: {
|
|
67
|
+
networks?: number[];
|
|
68
|
+
}, options?: FetchOptions): Promise<V2BalancesResponse>;
|
|
69
|
+
/**
|
|
70
|
+
* Get account balances with additional options (v2 endpoint).
|
|
71
|
+
*
|
|
72
|
+
* @param address - The account address.
|
|
73
|
+
* @param queryOptions - Query filter options.
|
|
74
|
+
* @param queryOptions.networks - Networks to filter by.
|
|
75
|
+
* @param queryOptions.filterSupportedTokens - Whether to filter supported tokens.
|
|
76
|
+
* @param queryOptions.includeTokenAddresses - Token addresses to include.
|
|
77
|
+
* @param queryOptions.includeStakedAssets - Whether to include staked assets.
|
|
78
|
+
* @param options - Fetch options including cache settings.
|
|
79
|
+
* @returns The account balances response.
|
|
80
|
+
*/
|
|
81
|
+
fetchV2BalancesWithOptions(address: string, queryOptions?: {
|
|
82
|
+
networks?: number[];
|
|
83
|
+
filterSupportedTokens?: boolean;
|
|
84
|
+
includeTokenAddresses?: string[];
|
|
85
|
+
includeStakedAssets?: boolean;
|
|
86
|
+
}, options?: FetchOptions): Promise<V2BalancesResponse>;
|
|
87
|
+
/**
|
|
88
|
+
* Get balances for multiple accounts (v4 endpoint).
|
|
89
|
+
*
|
|
90
|
+
* @param accountAddresses - Array of account addresses.
|
|
91
|
+
* @param queryOptions - Query filter options.
|
|
92
|
+
* @param queryOptions.networks - Networks to filter by.
|
|
93
|
+
* @param options - Fetch options including cache settings.
|
|
94
|
+
* @returns The multi-account balances response.
|
|
95
|
+
*/
|
|
96
|
+
fetchV4MultiAccountBalances(accountAddresses: string[], queryOptions?: {
|
|
97
|
+
networks?: number[];
|
|
98
|
+
}, options?: FetchOptions): Promise<V4BalancesResponse>;
|
|
99
|
+
/**
|
|
100
|
+
* Get balances for multiple accounts using CAIP-10 IDs (v5 endpoint).
|
|
101
|
+
*
|
|
102
|
+
* @param accountIds - Array of CAIP-10 account IDs.
|
|
103
|
+
* @param queryOptions - Query filter options.
|
|
104
|
+
* @param queryOptions.filterMMListTokens - Whether to filter MM list tokens.
|
|
105
|
+
* @param queryOptions.networks - Networks to filter by.
|
|
106
|
+
* @param queryOptions.includeStakedAssets - Whether to include staked assets.
|
|
107
|
+
* @param options - Fetch options including cache settings.
|
|
108
|
+
* @returns The multi-account balances response.
|
|
109
|
+
*/
|
|
110
|
+
fetchV5MultiAccountBalances(accountIds: string[], queryOptions?: {
|
|
111
|
+
filterMMListTokens?: boolean;
|
|
112
|
+
networks?: string[];
|
|
113
|
+
includeStakedAssets?: boolean;
|
|
114
|
+
}, options?: FetchOptions): Promise<V5BalancesResponse>;
|
|
115
|
+
/**
|
|
116
|
+
* Get a specific transaction by hash (v1 endpoint).
|
|
117
|
+
*
|
|
118
|
+
* @param chainId - The chain ID.
|
|
119
|
+
* @param txHash - The transaction hash.
|
|
120
|
+
* @param queryOptions - Query filter options.
|
|
121
|
+
* @param queryOptions.includeLogs - Whether to include logs.
|
|
122
|
+
* @param queryOptions.includeValueTransfers - Whether to include value transfers.
|
|
123
|
+
* @param queryOptions.includeTxMetadata - Whether to include transaction metadata.
|
|
124
|
+
* @param queryOptions.lang - Language for metadata.
|
|
125
|
+
* @param options - Fetch options including cache settings.
|
|
126
|
+
* @returns The transaction details.
|
|
127
|
+
*/
|
|
128
|
+
fetchV1TransactionByHash(chainId: number, txHash: string, queryOptions?: {
|
|
129
|
+
includeLogs?: boolean;
|
|
130
|
+
includeValueTransfers?: boolean;
|
|
131
|
+
includeTxMetadata?: boolean;
|
|
132
|
+
lang?: string;
|
|
133
|
+
}, options?: FetchOptions): Promise<V1TransactionByHashResponse>;
|
|
134
|
+
/**
|
|
135
|
+
* Get account transactions (v1 endpoint).
|
|
136
|
+
*
|
|
137
|
+
* @param address - The account address.
|
|
138
|
+
* @param queryOptions - Query filter options.
|
|
139
|
+
* @param queryOptions.chainIds - Chain IDs to filter by.
|
|
140
|
+
* @param queryOptions.cursor - Pagination cursor.
|
|
141
|
+
* @param queryOptions.startTimestamp - Start timestamp filter.
|
|
142
|
+
* @param queryOptions.endTimestamp - End timestamp filter.
|
|
143
|
+
* @param queryOptions.sortDirection - Sort direction (ASC/DESC).
|
|
144
|
+
* @param options - Fetch options including cache settings.
|
|
145
|
+
* @returns The account transactions response.
|
|
146
|
+
*/
|
|
147
|
+
fetchV1AccountTransactions(address: string, queryOptions?: {
|
|
148
|
+
chainIds?: string[];
|
|
149
|
+
cursor?: string;
|
|
150
|
+
startTimestamp?: number;
|
|
151
|
+
endTimestamp?: number;
|
|
152
|
+
sortDirection?: 'ASC' | 'DESC';
|
|
153
|
+
}, options?: FetchOptions): Promise<V1AccountTransactionsResponse>;
|
|
154
|
+
/**
|
|
155
|
+
* Get multi-account transactions (v4 endpoint).
|
|
156
|
+
*
|
|
157
|
+
* @param accountIds - Array of CAIP-10 account IDs.
|
|
158
|
+
* @param queryOptions - Query filter options.
|
|
159
|
+
* @param queryOptions.networks - Networks to filter by.
|
|
160
|
+
* @param queryOptions.cursor - Pagination cursor.
|
|
161
|
+
* @param queryOptions.sortDirection - Sort direction (ASC/DESC).
|
|
162
|
+
* @param queryOptions.includeLogs - Whether to include logs.
|
|
163
|
+
* @param queryOptions.includeValueTransfers - Whether to include value transfers.
|
|
164
|
+
* @param queryOptions.includeTxMetadata - Whether to include transaction metadata.
|
|
165
|
+
* @param options - Fetch options including cache settings.
|
|
166
|
+
* @returns The multi-account transactions response.
|
|
167
|
+
*/
|
|
168
|
+
fetchV4MultiAccountTransactions(accountIds: string[], queryOptions?: {
|
|
169
|
+
networks?: string[];
|
|
170
|
+
cursor?: string;
|
|
171
|
+
sortDirection?: 'ASC' | 'DESC';
|
|
172
|
+
includeLogs?: boolean;
|
|
173
|
+
includeValueTransfers?: boolean;
|
|
174
|
+
includeTxMetadata?: boolean;
|
|
175
|
+
}, options?: FetchOptions): Promise<V4MultiAccountTransactionsResponse>;
|
|
176
|
+
/**
|
|
177
|
+
* Get account address relationship (v1 endpoint).
|
|
178
|
+
*
|
|
179
|
+
* @param chainId - The chain ID.
|
|
180
|
+
* @param from - The from address.
|
|
181
|
+
* @param to - The to address.
|
|
182
|
+
* @param options - Fetch options including cache settings.
|
|
183
|
+
* @returns The account relationship result.
|
|
184
|
+
*/
|
|
185
|
+
fetchV1AccountRelationship(chainId: number, from: string, to: string, options?: FetchOptions): Promise<V1AccountRelationshipResult>;
|
|
186
|
+
/**
|
|
187
|
+
* Get NFTs owned by an account (v2 endpoint).
|
|
188
|
+
*
|
|
189
|
+
* @param address - The account address.
|
|
190
|
+
* @param queryOptions - Query filter options.
|
|
191
|
+
* @param queryOptions.networks - Networks to filter by.
|
|
192
|
+
* @param queryOptions.cursor - Pagination cursor.
|
|
193
|
+
* @param options - Fetch options including cache settings.
|
|
194
|
+
* @returns The NFTs response.
|
|
195
|
+
*/
|
|
196
|
+
fetchV2AccountNfts(address: string, queryOptions?: {
|
|
197
|
+
networks?: number[];
|
|
198
|
+
cursor?: string;
|
|
199
|
+
}, options?: FetchOptions): Promise<V2NftsResponse>;
|
|
200
|
+
/**
|
|
201
|
+
* Get ERC20 tokens detected for an account (v2 endpoint).
|
|
202
|
+
*
|
|
203
|
+
* @param address - The account address.
|
|
204
|
+
* @param queryOptions - Query filter options.
|
|
205
|
+
* @param queryOptions.networks - Networks to filter by.
|
|
206
|
+
* @param options - Fetch options including cache settings.
|
|
207
|
+
* @returns The tokens response.
|
|
208
|
+
*/
|
|
209
|
+
fetchV2AccountTokens(address: string, queryOptions?: {
|
|
210
|
+
networks?: number[];
|
|
211
|
+
}, options?: FetchOptions): Promise<V2TokensResponse>;
|
|
212
|
+
}
|
|
213
|
+
//# sourceMappingURL=client.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"client.d.mts","sourceRoot":"","sources":["../../../src/api/accounts/client.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAIH,OAAO,KAAK,EACV,2BAA2B,EAC3B,2BAA2B,EAC3B,wBAAwB,EACxB,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,2BAA2B,EAC3B,6BAA6B,EAC7B,kCAAkC,EAClC,2BAA2B,EAC3B,cAAc,EACd,gBAAgB,EACjB,oBAAgB;AACjB,OAAO,EACL,aAAa,EAKd,2BAAuB;AACxB,OAAO,KAAK,EAAE,YAAY,EAAE,4BAAwB;AAEpD;;;GAGG;AACH,qBAAa,iBAAkB,SAAQ,aAAa;IAKlD;;OAEG;IAC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