@avalabs/glacier-sdk 2.8.0-alpha.6 → 2.8.0-alpha.60

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.
@@ -1,385 +1,386 @@
1
- export declare enum CurrencyCode {
2
- Usd = "usd",
3
- Eur = "eur",
4
- Aud = "aud",
5
- Cad = "cad",
6
- Chf = "chf",
7
- Clp = "clp",
8
- Czk = "czk",
9
- Dkk = "dkk",
10
- Gbp = "gbp",
11
- Hkd = "hkd",
12
- Huf = "huf"
13
- }
14
- export interface Money {
15
- /**
16
- * ISO 4217 currency code.
17
- * @example usd
18
- */
19
- currencyCode: CurrencyCode;
20
- /**
21
- * Monetary value in base 10 decimals.
22
- * @example 42.42
23
- */
24
- value: number;
25
- }
26
- export interface NativeTokenBalance {
27
- name: string;
28
- symbol: string;
29
- decimals: number;
30
- logoUri?: string;
31
- chainId: string;
32
- price?: Money;
33
- balance: string;
34
- balanceValue?: Money;
35
- }
36
- export interface NativeBalance {
37
- nativeTokenBalance: NativeTokenBalance;
38
- }
39
- export interface Erc20TokenBalance {
40
- /** @example 0x71C7656EC7ab88b098defB751B7401B5f6d8976F */
41
- address: string;
42
- name: string;
43
- symbol: string;
44
- decimals: number;
45
- logoUri?: string;
46
- price?: Money;
47
- chainId: string;
48
- balance: string;
49
- balanceValue?: Money;
50
- }
51
- export interface Erc20Balances {
52
- /** A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages. */
53
- nextPageToken?: string;
54
- erc20TokenBalances: Erc20TokenBalance[];
55
- }
56
- export declare enum Erc721MetadataStatus {
57
- UNKNOWN = "UNKNOWN",
58
- MISSING_TOKEN = "MISSING_TOKEN",
59
- INVALID_TOKEN_URI = "INVALID_TOKEN_URI",
60
- INVALID_TOKEN_URI_SCHEME = "INVALID_TOKEN_URI_SCHEME",
61
- UNREACHABLE_TOKEN_URI = "UNREACHABLE_TOKEN_URI",
62
- THROTTLED_TOKEN_URI = "THROTTLED_TOKEN_URI",
63
- METADATA_CONTENT_TOO_LARGE = "METADATA_CONTENT_TOO_LARGE",
64
- INVALID_METADATA = "INVALID_METADATA",
65
- INVALID_METADATA_JSON = "INVALID_METADATA_JSON",
66
- INDEXED = "INDEXED",
67
- UNINDEXED = "UNINDEXED"
68
- }
69
- export interface Erc721Metadata {
70
- /**
71
- * The metadata indexing status of the nft.
72
- * @example indexed
73
- */
74
- indexStatus: Erc721MetadataStatus;
75
- metadataLastUpdatedTimestamp?: number;
76
- name?: string;
77
- symbol?: string;
78
- imageUri?: string;
79
- description?: string;
80
- animationUri?: string;
81
- externalUrl?: string;
82
- background?: string;
83
- attributes?: string;
84
- }
85
- export interface Erc721TokenBalance {
86
- /** @example 0x71C7656EC7ab88b098defB751B7401B5f6d8976F */
87
- address: string;
88
- name: string;
89
- symbol: string;
90
- tokenId: string;
91
- tokenUri: string;
92
- metadata: Erc721Metadata;
93
- chainId: string;
94
- }
95
- export interface Erc721Balances {
96
- /** A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages. */
97
- nextPageToken?: string;
98
- erc721TokenBalances: Erc721TokenBalance[];
99
- }
100
- export interface Block {
101
- /**
102
- * The block number on the chain.
103
- * @example 339
104
- */
105
- blockNumber: string;
106
- /**
107
- * The block finality timestamp.
108
- * @example 1648672486
109
- */
110
- blockTimestamp: number;
111
- /**
112
- * The block hash identifier.
113
- * @example 0x17533aeb5193378b9ff441d61728e7a2ebaf10f61fd5310759451627dfca2e7c
114
- */
115
- blockHash: string;
116
- /** The number of transactions in the block. */
117
- txCount: number;
118
- /** The base gas fee for a transaction to be included in the block. */
119
- baseFee: string;
120
- /** The gas used for transactions in the block. */
121
- gasUsed: string;
122
- /** The total gas limit set for transactions in the block. */
123
- gasLimit: string;
124
- gasCost: string;
125
- /** The hash of the parent block. */
126
- parentHash: string;
127
- /** The amount of fees spent/burned for transactions in the block. */
128
- feesSpent: string;
129
- /** The cumulative number of transactions for the chain including this block. */
130
- cumulativeTransactions: string;
131
- }
132
- export interface ListBlocks {
133
- /** A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages. */
134
- nextPageToken?: string;
135
- blocks: Block[];
136
- }
137
- export interface ListTransfers {
138
- /** A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages. */
139
- nextPageToken?: string;
140
- transfers: Erc20Transfer[] | Erc721Transfer[];
141
- }
142
- export interface RichAddress {
143
- name?: string;
144
- symbol?: string;
145
- decimals?: number;
146
- logoUri?: string;
147
- /** @example 0x71C7656EC7ab88b098defB751B7401B5f6d8976F */
148
- address: string;
149
- }
150
- export interface Method {
151
- /**
152
- * The contract method hash identifier.
153
- * @example 0xa9059cbb
154
- */
155
- methodHash: string;
156
- /**
157
- * The contract method name including parameter types.
158
- * @example transfer(address,uint256)
159
- */
160
- methodName?: string;
161
- }
162
- export interface NativeTransaction {
163
- /**
164
- * The block number on the chain.
165
- * @example 339
166
- */
167
- blockNumber: string;
168
- /**
169
- * The block finality timestamp.
170
- * @example 1648672486
171
- */
172
- blockTimestamp: number;
173
- /**
174
- * The block hash identifier.
175
- * @example 0x17533aeb5193378b9ff441d61728e7a2ebaf10f61fd5310759451627dfca2e7c
176
- */
177
- blockHash: string;
178
- /**
179
- * The index at which the transaction occured in the block (0-indexed).
180
- * @example 0
181
- */
182
- blockIndex: number;
183
- /**
184
- * The transaction hash identifier.
185
- * @example 0x3e9303f81be00b4af28515dab7b914bf3dbff209ea10e7071fa24d4af0a112d4
186
- */
187
- txHash: string;
188
- /**
189
- * The transaction status, which is either 0 (failed) or 1 (successful).
190
- * @example 1
191
- */
192
- txStatus: string;
193
- /**
194
- * The transaction type.
195
- * @example 1
196
- */
197
- txType: number;
198
- /**
199
- * The gas limit set for the transaction.
200
- * @example 51373
201
- */
202
- gasLimit: string;
203
- /**
204
- * The amount of gas used.
205
- * @example 51373
206
- */
207
- gasUsed: string;
208
- /**
209
- * The gas price denominated by the number of decimals of the native token.
210
- * @example 470000000000
211
- */
212
- gasPrice: string;
213
- /**
214
- * The nonce used by the sender of the transaction.
215
- * @example 1
216
- */
217
- nonce: string;
218
- from: RichAddress;
219
- to: RichAddress;
220
- method?: Method;
221
- /** @example 10000000000000000000 */
222
- value: string;
223
- }
224
- export interface Erc20Token {
225
- /** @example 0x71C7656EC7ab88b098defB751B7401B5f6d8976F */
226
- address: string;
227
- name: string;
228
- symbol: string;
229
- decimals: number;
230
- logoUri?: string;
231
- price?: Money;
232
- }
233
- export interface Erc20TransferDetails {
234
- from: RichAddress;
235
- to: RichAddress;
236
- erc20Token: Erc20Token;
237
- /** @example 10000000000000000000 */
238
- value: string;
239
- }
240
- export interface Erc721Token {
241
- /** @example 0x71C7656EC7ab88b098defB751B7401B5f6d8976F */
242
- address: string;
243
- name: string;
244
- symbol: string;
245
- tokenId: string;
246
- tokenUri: string;
247
- metadata: Erc721Metadata;
248
- }
249
- export interface Erc721TransferDetails {
250
- from: RichAddress;
251
- to: RichAddress;
252
- erc721Token: Erc721Token;
253
- }
254
- export declare enum InternalTransactionOpCall {
255
- UNKNOWN = "UNKNOWN",
256
- CALL = "CALL",
257
- CREATE = "CREATE",
258
- CREATE2 = "CREATE2",
259
- CALLCODE = "CALLCODE",
260
- DELEGATECALL = "DELEGATECALL",
261
- STATICCALL = "STATICCALL"
262
- }
263
- export interface InternalTransactionDetails {
264
- from: RichAddress;
265
- to: RichAddress;
266
- internalTxType: InternalTransactionOpCall;
267
- /** @example 10000000000000000000 */
268
- value: string;
269
- isReverted: boolean;
270
- }
271
- export interface TransactionDetails {
272
- nativeTransaction: NativeTransaction;
273
- erc20Transfers?: Erc20TransferDetails[];
274
- erc721Transfers?: Erc721TransferDetails[];
275
- internalTransactions?: InternalTransactionDetails[];
276
- }
277
- export interface ListTransactionDetails {
278
- /** A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages. */
279
- nextPageToken?: string;
280
- transactions: TransactionDetails[];
281
- }
282
- export interface ListNativeTransactions {
283
- /** A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages. */
284
- nextPageToken?: string;
285
- transactions: NativeTransaction[];
286
- }
287
- export interface Erc20Transfer {
288
- /**
289
- * The block number on the chain.
290
- * @example 339
291
- */
292
- blockNumber: string;
293
- /**
294
- * The block finality timestamp.
295
- * @example 1648672486
296
- */
297
- blockTimestamp: number;
298
- /**
299
- * The transaction hash identifier.
300
- * @example 0x3e9303f81be00b4af28515dab7b914bf3dbff209ea10e7071fa24d4af0a112d4
301
- */
302
- txHash: string;
303
- from: RichAddress;
304
- to: RichAddress;
305
- erc20Token: Erc20Token;
306
- /** @example 10000000000000000000 */
307
- value: string;
308
- }
309
- export interface ListErc20Transactions {
310
- /** A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages. */
311
- nextPageToken?: string;
312
- transactions: Erc20Transfer[];
313
- }
314
- export interface Erc721Transfer {
315
- /**
316
- * The block number on the chain.
317
- * @example 339
318
- */
319
- blockNumber: string;
320
- /**
321
- * The block finality timestamp.
322
- * @example 1648672486
323
- */
324
- blockTimestamp: number;
325
- /**
326
- * The transaction hash identifier.
327
- * @example 0x3e9303f81be00b4af28515dab7b914bf3dbff209ea10e7071fa24d4af0a112d4
328
- */
329
- txHash: string;
330
- from: RichAddress;
331
- to: RichAddress;
332
- erc721Token: Erc721Token;
333
- }
334
- export interface ListErc721Transactions {
335
- /** A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages. */
336
- nextPageToken?: string;
337
- transactions: Erc721Transfer[];
338
- }
339
- export interface NetworkToken {
340
- name: string;
341
- symbol: string;
342
- decimals: number;
343
- logoUri?: string;
344
- description?: string;
345
- }
346
- export interface NetworkTokenDetails {
347
- networkToken: NetworkToken;
348
- currentPrice?: Money;
349
- historicalPrice?: Money;
350
- }
351
- export interface FullTransactionDetails {
352
- nativeTransaction: NativeTransaction;
353
- erc20Transfers?: Erc20TransferDetails[];
354
- erc721Transfers?: Erc721TransferDetails[];
355
- internalTransactions?: InternalTransactionDetails[];
356
- networkTokenDetails: NetworkTokenDetails;
357
- }
358
- export declare enum VmName {
359
- EVM = "EVM",
360
- BITCOIN = "BITCOIN",
361
- ETHEREUM = "ETHEREUM"
362
- }
363
- export interface UtilityAddresses {
364
- multicall?: string;
365
- }
366
- export interface ChainInfo {
367
- chainId: string;
368
- chainName: string;
369
- description: string;
370
- platformChainId?: string;
371
- subnetId?: string;
372
- vmId?: string;
373
- vmName: VmName;
374
- explorerUrl?: string;
375
- rpcUrl: string;
376
- wsUrl?: string;
377
- isTestnet: boolean;
378
- utilityAddresses?: UtilityAddresses;
379
- networkToken: NetworkToken;
380
- chainLogoUri?: string;
381
- }
382
- export interface Chains {
383
- chains: ChainInfo[];
384
- }
385
- //# sourceMappingURL=models.d.ts.map
1
+ declare enum CurrencyCode {
2
+ Usd = "usd",
3
+ Eur = "eur",
4
+ Aud = "aud",
5
+ Cad = "cad",
6
+ Chf = "chf",
7
+ Clp = "clp",
8
+ Czk = "czk",
9
+ Dkk = "dkk",
10
+ Gbp = "gbp",
11
+ Hkd = "hkd",
12
+ Huf = "huf"
13
+ }
14
+ interface Money {
15
+ /**
16
+ * ISO 4217 currency code.
17
+ * @example usd
18
+ */
19
+ currencyCode: CurrencyCode;
20
+ /**
21
+ * Monetary value in base 10 decimals.
22
+ * @example 42.42
23
+ */
24
+ value: number;
25
+ }
26
+ interface NativeTokenBalance {
27
+ name: string;
28
+ symbol: string;
29
+ decimals: number;
30
+ logoUri?: string;
31
+ chainId: string;
32
+ price?: Money;
33
+ balance: string;
34
+ balanceValue?: Money;
35
+ }
36
+ interface NativeBalance {
37
+ nativeTokenBalance: NativeTokenBalance;
38
+ }
39
+ interface Erc20TokenBalance {
40
+ /** @example 0x71C7656EC7ab88b098defB751B7401B5f6d8976F */
41
+ address: string;
42
+ name: string;
43
+ symbol: string;
44
+ decimals: number;
45
+ logoUri?: string;
46
+ price?: Money;
47
+ chainId: string;
48
+ balance: string;
49
+ balanceValue?: Money;
50
+ }
51
+ interface Erc20Balances {
52
+ /** A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages. */
53
+ nextPageToken?: string;
54
+ erc20TokenBalances: Erc20TokenBalance[];
55
+ }
56
+ declare enum Erc721MetadataStatus {
57
+ UNKNOWN = "UNKNOWN",
58
+ MISSING_TOKEN = "MISSING_TOKEN",
59
+ INVALID_TOKEN_URI = "INVALID_TOKEN_URI",
60
+ INVALID_TOKEN_URI_SCHEME = "INVALID_TOKEN_URI_SCHEME",
61
+ UNREACHABLE_TOKEN_URI = "UNREACHABLE_TOKEN_URI",
62
+ THROTTLED_TOKEN_URI = "THROTTLED_TOKEN_URI",
63
+ METADATA_CONTENT_TOO_LARGE = "METADATA_CONTENT_TOO_LARGE",
64
+ INVALID_METADATA = "INVALID_METADATA",
65
+ INVALID_METADATA_JSON = "INVALID_METADATA_JSON",
66
+ INDEXED = "INDEXED",
67
+ UNINDEXED = "UNINDEXED"
68
+ }
69
+ interface Erc721Metadata {
70
+ /**
71
+ * The metadata indexing status of the nft.
72
+ * @example indexed
73
+ */
74
+ indexStatus: Erc721MetadataStatus;
75
+ metadataLastUpdatedTimestamp?: number;
76
+ name?: string;
77
+ symbol?: string;
78
+ imageUri?: string;
79
+ description?: string;
80
+ animationUri?: string;
81
+ externalUrl?: string;
82
+ background?: string;
83
+ attributes?: string;
84
+ }
85
+ interface Erc721TokenBalance {
86
+ /** @example 0x71C7656EC7ab88b098defB751B7401B5f6d8976F */
87
+ address: string;
88
+ name: string;
89
+ symbol: string;
90
+ tokenId: string;
91
+ tokenUri: string;
92
+ metadata: Erc721Metadata;
93
+ chainId: string;
94
+ }
95
+ interface Erc721Balances {
96
+ /** A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages. */
97
+ nextPageToken?: string;
98
+ erc721TokenBalances: Erc721TokenBalance[];
99
+ }
100
+ interface Block {
101
+ /**
102
+ * The block number on the chain.
103
+ * @example 339
104
+ */
105
+ blockNumber: string;
106
+ /**
107
+ * The block finality timestamp.
108
+ * @example 1648672486
109
+ */
110
+ blockTimestamp: number;
111
+ /**
112
+ * The block hash identifier.
113
+ * @example 0x17533aeb5193378b9ff441d61728e7a2ebaf10f61fd5310759451627dfca2e7c
114
+ */
115
+ blockHash: string;
116
+ /** The number of transactions in the block. */
117
+ txCount: number;
118
+ /** The base gas fee for a transaction to be included in the block. */
119
+ baseFee: string;
120
+ /** The gas used for transactions in the block. */
121
+ gasUsed: string;
122
+ /** The total gas limit set for transactions in the block. */
123
+ gasLimit: string;
124
+ gasCost: string;
125
+ /** The hash of the parent block. */
126
+ parentHash: string;
127
+ /** The amount of fees spent/burned for transactions in the block. */
128
+ feesSpent: string;
129
+ /** The cumulative number of transactions for the chain including this block. */
130
+ cumulativeTransactions: string;
131
+ }
132
+ interface ListBlocks {
133
+ /** A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages. */
134
+ nextPageToken?: string;
135
+ blocks: Block[];
136
+ }
137
+ interface ListTransfers {
138
+ /** A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages. */
139
+ nextPageToken?: string;
140
+ transfers: Erc20Transfer[] | Erc721Transfer[];
141
+ }
142
+ interface RichAddress {
143
+ name?: string;
144
+ symbol?: string;
145
+ decimals?: number;
146
+ logoUri?: string;
147
+ /** @example 0x71C7656EC7ab88b098defB751B7401B5f6d8976F */
148
+ address: string;
149
+ }
150
+ interface Method {
151
+ /**
152
+ * The contract method hash identifier.
153
+ * @example 0xa9059cbb
154
+ */
155
+ methodHash: string;
156
+ /**
157
+ * The contract method name including parameter types.
158
+ * @example transfer(address,uint256)
159
+ */
160
+ methodName?: string;
161
+ }
162
+ interface NativeTransaction {
163
+ /**
164
+ * The block number on the chain.
165
+ * @example 339
166
+ */
167
+ blockNumber: string;
168
+ /**
169
+ * The block finality timestamp.
170
+ * @example 1648672486
171
+ */
172
+ blockTimestamp: number;
173
+ /**
174
+ * The block hash identifier.
175
+ * @example 0x17533aeb5193378b9ff441d61728e7a2ebaf10f61fd5310759451627dfca2e7c
176
+ */
177
+ blockHash: string;
178
+ /**
179
+ * The index at which the transaction occured in the block (0-indexed).
180
+ * @example 0
181
+ */
182
+ blockIndex: number;
183
+ /**
184
+ * The transaction hash identifier.
185
+ * @example 0x3e9303f81be00b4af28515dab7b914bf3dbff209ea10e7071fa24d4af0a112d4
186
+ */
187
+ txHash: string;
188
+ /**
189
+ * The transaction status, which is either 0 (failed) or 1 (successful).
190
+ * @example 1
191
+ */
192
+ txStatus: string;
193
+ /**
194
+ * The transaction type.
195
+ * @example 1
196
+ */
197
+ txType: number;
198
+ /**
199
+ * The gas limit set for the transaction.
200
+ * @example 51373
201
+ */
202
+ gasLimit: string;
203
+ /**
204
+ * The amount of gas used.
205
+ * @example 51373
206
+ */
207
+ gasUsed: string;
208
+ /**
209
+ * The gas price denominated by the number of decimals of the native token.
210
+ * @example 470000000000
211
+ */
212
+ gasPrice: string;
213
+ /**
214
+ * The nonce used by the sender of the transaction.
215
+ * @example 1
216
+ */
217
+ nonce: string;
218
+ from: RichAddress;
219
+ to: RichAddress;
220
+ method?: Method;
221
+ /** @example 10000000000000000000 */
222
+ value: string;
223
+ }
224
+ interface Erc20Token {
225
+ /** @example 0x71C7656EC7ab88b098defB751B7401B5f6d8976F */
226
+ address: string;
227
+ name: string;
228
+ symbol: string;
229
+ decimals: number;
230
+ logoUri?: string;
231
+ price?: Money;
232
+ }
233
+ interface Erc20TransferDetails {
234
+ from: RichAddress;
235
+ to: RichAddress;
236
+ erc20Token: Erc20Token;
237
+ /** @example 10000000000000000000 */
238
+ value: string;
239
+ }
240
+ interface Erc721Token {
241
+ /** @example 0x71C7656EC7ab88b098defB751B7401B5f6d8976F */
242
+ address: string;
243
+ name: string;
244
+ symbol: string;
245
+ tokenId: string;
246
+ tokenUri: string;
247
+ metadata: Erc721Metadata;
248
+ }
249
+ interface Erc721TransferDetails {
250
+ from: RichAddress;
251
+ to: RichAddress;
252
+ erc721Token: Erc721Token;
253
+ }
254
+ declare enum InternalTransactionOpCall {
255
+ UNKNOWN = "UNKNOWN",
256
+ CALL = "CALL",
257
+ CREATE = "CREATE",
258
+ CREATE2 = "CREATE2",
259
+ CALLCODE = "CALLCODE",
260
+ DELEGATECALL = "DELEGATECALL",
261
+ STATICCALL = "STATICCALL"
262
+ }
263
+ interface InternalTransactionDetails {
264
+ from: RichAddress;
265
+ to: RichAddress;
266
+ internalTxType: InternalTransactionOpCall;
267
+ /** @example 10000000000000000000 */
268
+ value: string;
269
+ isReverted: boolean;
270
+ }
271
+ interface TransactionDetails {
272
+ nativeTransaction: NativeTransaction;
273
+ erc20Transfers?: Erc20TransferDetails[];
274
+ erc721Transfers?: Erc721TransferDetails[];
275
+ internalTransactions?: InternalTransactionDetails[];
276
+ }
277
+ interface ListTransactionDetails {
278
+ /** A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages. */
279
+ nextPageToken?: string;
280
+ transactions: TransactionDetails[];
281
+ }
282
+ interface ListNativeTransactions {
283
+ /** A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages. */
284
+ nextPageToken?: string;
285
+ transactions: NativeTransaction[];
286
+ }
287
+ interface Erc20Transfer {
288
+ /**
289
+ * The block number on the chain.
290
+ * @example 339
291
+ */
292
+ blockNumber: string;
293
+ /**
294
+ * The block finality timestamp.
295
+ * @example 1648672486
296
+ */
297
+ blockTimestamp: number;
298
+ /**
299
+ * The transaction hash identifier.
300
+ * @example 0x3e9303f81be00b4af28515dab7b914bf3dbff209ea10e7071fa24d4af0a112d4
301
+ */
302
+ txHash: string;
303
+ from: RichAddress;
304
+ to: RichAddress;
305
+ erc20Token: Erc20Token;
306
+ /** @example 10000000000000000000 */
307
+ value: string;
308
+ }
309
+ interface ListErc20Transactions {
310
+ /** A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages. */
311
+ nextPageToken?: string;
312
+ transactions: Erc20Transfer[];
313
+ }
314
+ interface Erc721Transfer {
315
+ /**
316
+ * The block number on the chain.
317
+ * @example 339
318
+ */
319
+ blockNumber: string;
320
+ /**
321
+ * The block finality timestamp.
322
+ * @example 1648672486
323
+ */
324
+ blockTimestamp: number;
325
+ /**
326
+ * The transaction hash identifier.
327
+ * @example 0x3e9303f81be00b4af28515dab7b914bf3dbff209ea10e7071fa24d4af0a112d4
328
+ */
329
+ txHash: string;
330
+ from: RichAddress;
331
+ to: RichAddress;
332
+ erc721Token: Erc721Token;
333
+ }
334
+ interface ListErc721Transactions {
335
+ /** A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages. */
336
+ nextPageToken?: string;
337
+ transactions: Erc721Transfer[];
338
+ }
339
+ interface NetworkToken {
340
+ name: string;
341
+ symbol: string;
342
+ decimals: number;
343
+ logoUri?: string;
344
+ description?: string;
345
+ }
346
+ interface NetworkTokenDetails {
347
+ networkToken: NetworkToken;
348
+ currentPrice?: Money;
349
+ historicalPrice?: Money;
350
+ }
351
+ interface FullTransactionDetails {
352
+ nativeTransaction: NativeTransaction;
353
+ erc20Transfers?: Erc20TransferDetails[];
354
+ erc721Transfers?: Erc721TransferDetails[];
355
+ internalTransactions?: InternalTransactionDetails[];
356
+ networkTokenDetails: NetworkTokenDetails;
357
+ }
358
+ declare enum VmName {
359
+ EVM = "EVM",
360
+ BITCOIN = "BITCOIN",
361
+ ETHEREUM = "ETHEREUM"
362
+ }
363
+ interface UtilityAddresses {
364
+ multicall?: string;
365
+ }
366
+ interface ChainInfo {
367
+ chainId: string;
368
+ chainName: string;
369
+ description: string;
370
+ platformChainId?: string;
371
+ subnetId?: string;
372
+ vmId?: string;
373
+ vmName: VmName;
374
+ explorerUrl?: string;
375
+ rpcUrl: string;
376
+ wsUrl?: string;
377
+ isTestnet: boolean;
378
+ utilityAddresses?: UtilityAddresses;
379
+ networkToken: NetworkToken;
380
+ chainLogoUri?: string;
381
+ }
382
+ interface Chains {
383
+ chains: ChainInfo[];
384
+ }
385
+
386
+ export { Block, ChainInfo, Chains, CurrencyCode, Erc20Balances, Erc20Token, Erc20TokenBalance, Erc20Transfer, Erc20TransferDetails, Erc721Balances, Erc721Metadata, Erc721MetadataStatus, Erc721Token, Erc721TokenBalance, Erc721Transfer, Erc721TransferDetails, FullTransactionDetails, InternalTransactionDetails, InternalTransactionOpCall, ListBlocks, ListErc20Transactions, ListErc721Transactions, ListNativeTransactions, ListTransactionDetails, ListTransfers, Method, Money, NativeBalance, NativeTokenBalance, NativeTransaction, NetworkToken, NetworkTokenDetails, RichAddress, TransactionDetails, UtilityAddresses, VmName };