@avalabs/glacier-sdk 2.8.0-canary.c4e2f70.0 → 2.8.0-canary.c5ffa53.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/dist/index.d.ts +636 -465
- package/dist/index.js +313 -192
- package/esm/generated/Glacier.d.ts +4 -0
- package/esm/generated/Glacier.js +6 -0
- package/esm/generated/core/CancelablePromise.d.ts +2 -8
- package/esm/generated/core/CancelablePromise.js +38 -36
- package/esm/generated/core/request.js +3 -2
- package/esm/generated/models/AddressActivityMetadata.d.ts +2 -2
- package/esm/generated/models/AddressesChangeRequest.d.ts +8 -0
- package/esm/generated/models/{XChainAssetBalance.d.ts → AggregatedAssetAmount.d.ts} +5 -6
- package/esm/generated/models/{Asset.d.ts → AssetAmount.d.ts} +5 -6
- package/esm/generated/models/AssetWithPriceInfo.d.ts +2 -4
- package/esm/generated/models/CChainExportTransaction.d.ts +3 -3
- package/esm/generated/models/CChainImportTransaction.d.ts +3 -3
- package/esm/generated/models/CChainSharedAssetBalance.d.ts +3 -4
- package/esm/generated/models/ChainInfo.d.ts +1 -3
- package/esm/generated/models/ChainStatus.d.ts +3 -0
- package/esm/generated/models/CreateEvmTransactionExportRequest.d.ts +2 -6
- package/esm/generated/models/CreatePrimaryNetworkTransactionExportRequest.d.ts +2 -6
- package/esm/generated/models/CurrencyCode.d.ts +3 -0
- package/esm/generated/models/DeliveredSourceNotIndexedTeleporterMessage.d.ts +5 -2
- package/esm/generated/models/DeliveredTeleporterMessage.d.ts +5 -2
- package/esm/generated/models/EVMInput.d.ts +3 -3
- package/esm/generated/models/EVMOperationType.d.ts +5 -0
- package/esm/generated/models/EVMOperationType.js +6 -0
- package/esm/generated/models/EVMOutput.d.ts +3 -3
- package/esm/generated/models/Erc1155TokenMetadata.d.ts +0 -3
- package/esm/generated/models/Erc721TokenMetadata.d.ts +0 -3
- package/esm/generated/models/GetChainResponse.d.ts +1 -3
- package/esm/generated/models/GlacierApiFeature.d.ts +6 -0
- package/esm/generated/models/GlacierApiFeature.js +7 -0
- package/esm/generated/models/ListNftTokens.d.ts +1 -1
- package/esm/generated/models/ListTransfersResponse.d.ts +1 -1
- package/esm/generated/models/Method.d.ts +0 -3
- package/esm/generated/models/Money.d.ts +0 -3
- package/esm/generated/models/NftTokenMetadataStatus.d.ts +3 -0
- package/esm/generated/models/OperationType.d.ts +4 -2
- package/esm/generated/models/OperationType.js +3 -1
- package/esm/generated/models/PChainBalance.d.ts +15 -15
- package/esm/generated/models/PChainSharedAsset.d.ts +4 -4
- package/esm/generated/models/PChainTransaction.d.ts +12 -7
- package/esm/generated/models/PChainTransactionType.d.ts +2 -0
- package/esm/generated/models/PChainTransactionType.js +2 -0
- package/esm/generated/models/PChainUtxo.d.ts +2 -2
- package/esm/generated/models/PendingReward.d.ts +3 -3
- package/esm/generated/models/PendingTeleporterMessage.d.ts +5 -2
- package/esm/generated/models/PrimaryNetworkAssetCap.d.ts +9 -0
- package/esm/generated/models/PrimaryNetworkAssetCap.js +7 -0
- package/esm/generated/models/PrimaryNetworkAssetType.d.ts +9 -0
- package/esm/generated/models/PrimaryNetworkAssetType.js +7 -0
- package/esm/generated/models/PrimaryNetworkOperationType.d.ts +7 -0
- package/esm/generated/models/PrimaryNetworkOperationType.js +8 -0
- package/esm/generated/models/PrimaryNetworkOptions.d.ts +1 -1
- package/esm/generated/models/PrimaryNetworkTxType.d.ts +2 -1
- package/esm/generated/models/PrimaryNetworkTxType.js +2 -1
- package/esm/generated/models/RegisterWebhookRequest.d.ts +8 -3
- package/esm/generated/models/RpcErrorDto.d.ts +7 -0
- package/esm/generated/models/RpcErrorResponseDto.d.ts +9 -0
- package/esm/generated/models/RpcRequestBodyDto.d.ts +8 -0
- package/esm/generated/models/RpcSuccessResponseDto.d.ts +7 -0
- package/esm/generated/models/Subnet.d.ts +17 -0
- package/esm/generated/models/SubnetOwnershipInfo.d.ts +16 -0
- package/esm/generated/models/TeleporterReceipt.d.ts +6 -0
- package/esm/generated/models/TransactionMethodType.d.ts +3 -0
- package/esm/generated/models/UpdateWebhookRequest.d.ts +12 -0
- package/esm/generated/models/Utxo.d.ts +2 -2
- package/esm/generated/models/WebhookResponse.d.ts +10 -0
- package/esm/generated/models/XChainAssetDetails.d.ts +5 -8
- package/esm/generated/models/XChainBalances.d.ts +3 -3
- package/esm/generated/models/XChainLinearTransaction.d.ts +4 -7
- package/esm/generated/models/XChainNonLinearTransaction.d.ts +4 -7
- package/esm/generated/models/XChainSharedAssetBalance.d.ts +3 -4
- package/esm/generated/models/XChainTransactionType.d.ts +3 -0
- package/esm/generated/services/DefaultService.d.ts +0 -53
- package/esm/generated/services/DefaultService.js +0 -42
- package/esm/generated/services/EvmBalancesService.d.ts +25 -25
- package/esm/generated/services/EvmBalancesService.js +8 -8
- package/esm/generated/services/EvmBlocksService.d.ts +7 -7
- package/esm/generated/services/EvmBlocksService.js +4 -4
- package/esm/generated/services/EvmChainsService.d.ts +7 -2
- package/esm/generated/services/EvmChainsService.js +4 -2
- package/esm/generated/services/EvmContractsService.d.ts +2 -2
- package/esm/generated/services/EvmTransactionsService.d.ts +57 -57
- package/esm/generated/services/EvmTransactionsService.js +32 -32
- package/esm/generated/services/NfTsService.d.ts +8 -8
- package/esm/generated/services/NfTsService.js +4 -4
- package/esm/generated/services/PrimaryNetworkBlocksService.d.ts +10 -10
- package/esm/generated/services/PrimaryNetworkBlocksService.js +8 -8
- package/esm/generated/services/PrimaryNetworkRewardsService.d.ts +12 -12
- package/esm/generated/services/PrimaryNetworkRewardsService.js +4 -4
- package/esm/generated/services/PrimaryNetworkService.d.ts +32 -32
- package/esm/generated/services/PrimaryNetworkService.js +10 -10
- package/esm/generated/services/PrimaryNetworkTransactionsService.d.ts +16 -16
- package/esm/generated/services/PrimaryNetworkTransactionsService.js +8 -8
- package/esm/generated/services/PrimaryNetworkUtxOsService.d.ts +5 -5
- package/esm/generated/services/PrimaryNetworkUtxOsService.js +2 -2
- package/esm/generated/services/PrimaryNetworkVerticesService.d.ts +10 -10
- package/esm/generated/services/PrimaryNetworkVerticesService.js +6 -6
- package/esm/generated/services/RpcService.d.ts +25 -0
- package/esm/generated/services/RpcService.js +24 -0
- package/esm/generated/services/TeleporterService.d.ts +14 -22
- package/esm/generated/services/TeleporterService.js +4 -8
- package/esm/generated/services/WebhooksService.d.ts +122 -0
- package/esm/generated/services/WebhooksService.js +108 -0
- package/esm/index.d.ts +17 -2
- package/esm/index.js +7 -2
- package/package.json +3 -3
- package/esm/generated/models/CreateEvmTransactionExportRequest.js +0 -8
- package/esm/generated/models/CreatePrimaryNetworkTransactionExportRequest.js +0 -8
|
@@ -24,7 +24,7 @@ declare class EvmTransactionsService {
|
|
|
24
24
|
*/
|
|
25
25
|
getDeploymentTransaction({ chainId, address, currency, }: {
|
|
26
26
|
/**
|
|
27
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
27
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
28
28
|
*/
|
|
29
29
|
chainId: string;
|
|
30
30
|
/**
|
|
@@ -42,23 +42,23 @@ declare class EvmTransactionsService {
|
|
|
42
42
|
* @returns ListContractsResponse
|
|
43
43
|
* @throws ApiError
|
|
44
44
|
*/
|
|
45
|
-
listContractDeployments({ chainId, address,
|
|
45
|
+
listContractDeployments({ chainId, address, pageToken, pageSize, }: {
|
|
46
46
|
/**
|
|
47
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
47
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
48
48
|
*/
|
|
49
49
|
chainId: string;
|
|
50
50
|
/**
|
|
51
51
|
* A wallet address.
|
|
52
52
|
*/
|
|
53
53
|
address: string;
|
|
54
|
-
/**
|
|
55
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
56
|
-
*/
|
|
57
|
-
pageSize?: number;
|
|
58
54
|
/**
|
|
59
55
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
60
56
|
*/
|
|
61
57
|
pageToken?: string;
|
|
58
|
+
/**
|
|
59
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
60
|
+
*/
|
|
61
|
+
pageSize?: number;
|
|
62
62
|
}): CancelablePromise<ListContractsResponse>;
|
|
63
63
|
/**
|
|
64
64
|
* List ERC transfers
|
|
@@ -66,9 +66,9 @@ declare class EvmTransactionsService {
|
|
|
66
66
|
* @returns ListTransfersResponse
|
|
67
67
|
* @throws ApiError
|
|
68
68
|
*/
|
|
69
|
-
listTransfers({ chainId, address, startBlock, endBlock,
|
|
69
|
+
listTransfers({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
|
|
70
70
|
/**
|
|
71
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
71
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
72
72
|
*/
|
|
73
73
|
chainId: string;
|
|
74
74
|
/**
|
|
@@ -83,14 +83,14 @@ declare class EvmTransactionsService {
|
|
|
83
83
|
* The block range end number, exclusive. If startBlock is not defined when endBlock is defined, the start of the range will be the genesis block.
|
|
84
84
|
*/
|
|
85
85
|
endBlock?: number;
|
|
86
|
-
/**
|
|
87
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
88
|
-
*/
|
|
89
|
-
pageSize?: number;
|
|
90
86
|
/**
|
|
91
87
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
92
88
|
*/
|
|
93
89
|
pageToken?: string;
|
|
90
|
+
/**
|
|
91
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
92
|
+
*/
|
|
93
|
+
pageSize?: number;
|
|
94
94
|
}): CancelablePromise<ListTransfersResponse>;
|
|
95
95
|
/**
|
|
96
96
|
* List transactions
|
|
@@ -100,23 +100,23 @@ declare class EvmTransactionsService {
|
|
|
100
100
|
* @returns ListTransactionDetailsResponse
|
|
101
101
|
* @throws ApiError
|
|
102
102
|
*/
|
|
103
|
-
listTransactions({ chainId, address,
|
|
103
|
+
listTransactions({ chainId, address, pageToken, pageSize, startBlock, endBlock, sortOrder, }: {
|
|
104
104
|
/**
|
|
105
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
105
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
106
106
|
*/
|
|
107
107
|
chainId: string;
|
|
108
108
|
/**
|
|
109
109
|
* A wallet address.
|
|
110
110
|
*/
|
|
111
111
|
address: string;
|
|
112
|
-
/**
|
|
113
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
114
|
-
*/
|
|
115
|
-
pageSize?: number;
|
|
116
112
|
/**
|
|
117
113
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
118
114
|
*/
|
|
119
115
|
pageToken?: string;
|
|
116
|
+
/**
|
|
117
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
118
|
+
*/
|
|
119
|
+
pageSize?: number;
|
|
120
120
|
/**
|
|
121
121
|
* The block range start number, inclusive. If endBlock is not defined when startBlock is defined, the end of the range will be the most recent block.
|
|
122
122
|
*/
|
|
@@ -136,9 +136,9 @@ declare class EvmTransactionsService {
|
|
|
136
136
|
* @returns ListNativeTransactionsResponse
|
|
137
137
|
* @throws ApiError
|
|
138
138
|
*/
|
|
139
|
-
listNativeTransactions({ chainId, address, startBlock, endBlock,
|
|
139
|
+
listNativeTransactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
|
|
140
140
|
/**
|
|
141
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
141
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
142
142
|
*/
|
|
143
143
|
chainId: string;
|
|
144
144
|
/**
|
|
@@ -153,14 +153,14 @@ declare class EvmTransactionsService {
|
|
|
153
153
|
* The block range end number, exclusive. If startBlock is not defined when endBlock is defined, the start of the range will be the genesis block.
|
|
154
154
|
*/
|
|
155
155
|
endBlock?: number;
|
|
156
|
-
/**
|
|
157
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
158
|
-
*/
|
|
159
|
-
pageSize?: number;
|
|
160
156
|
/**
|
|
161
157
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
162
158
|
*/
|
|
163
159
|
pageToken?: string;
|
|
160
|
+
/**
|
|
161
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
162
|
+
*/
|
|
163
|
+
pageSize?: number;
|
|
164
164
|
}): CancelablePromise<ListNativeTransactionsResponse>;
|
|
165
165
|
/**
|
|
166
166
|
* List ERC-20 transfers
|
|
@@ -168,9 +168,9 @@ declare class EvmTransactionsService {
|
|
|
168
168
|
* @returns ListErc20TransactionsResponse
|
|
169
169
|
* @throws ApiError
|
|
170
170
|
*/
|
|
171
|
-
listErc20Transactions({ chainId, address, startBlock, endBlock,
|
|
171
|
+
listErc20Transactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
|
|
172
172
|
/**
|
|
173
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
173
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
174
174
|
*/
|
|
175
175
|
chainId: string;
|
|
176
176
|
/**
|
|
@@ -185,14 +185,14 @@ declare class EvmTransactionsService {
|
|
|
185
185
|
* The block range end number, exclusive. If startBlock is not defined when endBlock is defined, the start of the range will be the genesis block.
|
|
186
186
|
*/
|
|
187
187
|
endBlock?: number;
|
|
188
|
-
/**
|
|
189
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
190
|
-
*/
|
|
191
|
-
pageSize?: number;
|
|
192
188
|
/**
|
|
193
189
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
194
190
|
*/
|
|
195
191
|
pageToken?: string;
|
|
192
|
+
/**
|
|
193
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
194
|
+
*/
|
|
195
|
+
pageSize?: number;
|
|
196
196
|
}): CancelablePromise<ListErc20TransactionsResponse>;
|
|
197
197
|
/**
|
|
198
198
|
* List ERC-721 transfers
|
|
@@ -200,9 +200,9 @@ declare class EvmTransactionsService {
|
|
|
200
200
|
* @returns ListErc721TransactionsResponse
|
|
201
201
|
* @throws ApiError
|
|
202
202
|
*/
|
|
203
|
-
listErc721Transactions({ chainId, address, startBlock, endBlock,
|
|
203
|
+
listErc721Transactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
|
|
204
204
|
/**
|
|
205
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
205
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
206
206
|
*/
|
|
207
207
|
chainId: string;
|
|
208
208
|
/**
|
|
@@ -217,14 +217,14 @@ declare class EvmTransactionsService {
|
|
|
217
217
|
* The block range end number, exclusive. If startBlock is not defined when endBlock is defined, the start of the range will be the genesis block.
|
|
218
218
|
*/
|
|
219
219
|
endBlock?: number;
|
|
220
|
-
/**
|
|
221
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
222
|
-
*/
|
|
223
|
-
pageSize?: number;
|
|
224
220
|
/**
|
|
225
221
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
226
222
|
*/
|
|
227
223
|
pageToken?: string;
|
|
224
|
+
/**
|
|
225
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
226
|
+
*/
|
|
227
|
+
pageSize?: number;
|
|
228
228
|
}): CancelablePromise<ListErc721TransactionsResponse>;
|
|
229
229
|
/**
|
|
230
230
|
* List ERC-1155 transfers
|
|
@@ -232,9 +232,9 @@ declare class EvmTransactionsService {
|
|
|
232
232
|
* @returns ListErc1155TransactionsResponse
|
|
233
233
|
* @throws ApiError
|
|
234
234
|
*/
|
|
235
|
-
listErc1155Transactions({ chainId, address, startBlock, endBlock,
|
|
235
|
+
listErc1155Transactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
|
|
236
236
|
/**
|
|
237
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
237
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
238
238
|
*/
|
|
239
239
|
chainId: string;
|
|
240
240
|
/**
|
|
@@ -249,14 +249,14 @@ declare class EvmTransactionsService {
|
|
|
249
249
|
* The block range end number, exclusive. If startBlock is not defined when endBlock is defined, the start of the range will be the genesis block.
|
|
250
250
|
*/
|
|
251
251
|
endBlock?: number;
|
|
252
|
-
/**
|
|
253
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
254
|
-
*/
|
|
255
|
-
pageSize?: number;
|
|
256
252
|
/**
|
|
257
253
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
258
254
|
*/
|
|
259
255
|
pageToken?: string;
|
|
256
|
+
/**
|
|
257
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
258
|
+
*/
|
|
259
|
+
pageSize?: number;
|
|
260
260
|
}): CancelablePromise<ListErc1155TransactionsResponse>;
|
|
261
261
|
/**
|
|
262
262
|
* List internal transactions
|
|
@@ -266,9 +266,9 @@ declare class EvmTransactionsService {
|
|
|
266
266
|
* @returns ListInternalTransactionsResponse
|
|
267
267
|
* @throws ApiError
|
|
268
268
|
*/
|
|
269
|
-
listInternalTransactions({ chainId, address, startBlock, endBlock,
|
|
269
|
+
listInternalTransactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
|
|
270
270
|
/**
|
|
271
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
271
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
272
272
|
*/
|
|
273
273
|
chainId: string;
|
|
274
274
|
/**
|
|
@@ -283,14 +283,14 @@ declare class EvmTransactionsService {
|
|
|
283
283
|
* The block range end number, exclusive. If startBlock is not defined when endBlock is defined, the start of the range will be the genesis block.
|
|
284
284
|
*/
|
|
285
285
|
endBlock?: number;
|
|
286
|
-
/**
|
|
287
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
288
|
-
*/
|
|
289
|
-
pageSize?: number;
|
|
290
286
|
/**
|
|
291
287
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
292
288
|
*/
|
|
293
289
|
pageToken?: string;
|
|
290
|
+
/**
|
|
291
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
292
|
+
*/
|
|
293
|
+
pageSize?: number;
|
|
294
294
|
}): CancelablePromise<ListInternalTransactionsResponse>;
|
|
295
295
|
/**
|
|
296
296
|
* Get transaction
|
|
@@ -300,7 +300,7 @@ declare class EvmTransactionsService {
|
|
|
300
300
|
*/
|
|
301
301
|
getTransaction({ chainId, txHash, }: {
|
|
302
302
|
/**
|
|
303
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
303
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
304
304
|
*/
|
|
305
305
|
chainId: string;
|
|
306
306
|
/**
|
|
@@ -316,7 +316,7 @@ declare class EvmTransactionsService {
|
|
|
316
316
|
*/
|
|
317
317
|
getTransactionsForBlock({ chainId, blockId, }: {
|
|
318
318
|
/**
|
|
319
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
319
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
320
320
|
*/
|
|
321
321
|
chainId: string;
|
|
322
322
|
/**
|
|
@@ -330,19 +330,19 @@ declare class EvmTransactionsService {
|
|
|
330
330
|
* @returns ListNativeTransactionsResponse
|
|
331
331
|
* @throws ApiError
|
|
332
332
|
*/
|
|
333
|
-
listLatestTransactions({ chainId,
|
|
333
|
+
listLatestTransactions({ chainId, pageToken, pageSize, status, }: {
|
|
334
334
|
/**
|
|
335
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
335
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
336
336
|
*/
|
|
337
337
|
chainId: string;
|
|
338
|
-
/**
|
|
339
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
340
|
-
*/
|
|
341
|
-
pageSize?: number;
|
|
342
338
|
/**
|
|
343
339
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
344
340
|
*/
|
|
345
341
|
pageToken?: string;
|
|
342
|
+
/**
|
|
343
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
344
|
+
*/
|
|
345
|
+
pageSize?: number;
|
|
346
346
|
/**
|
|
347
347
|
* A status filter for listed transactions.
|
|
348
348
|
*/
|
|
@@ -22,8 +22,8 @@ class EvmTransactionsService {
|
|
|
22
22
|
listContractDeployments({
|
|
23
23
|
chainId,
|
|
24
24
|
address,
|
|
25
|
-
|
|
26
|
-
|
|
25
|
+
pageToken,
|
|
26
|
+
pageSize = 10
|
|
27
27
|
}) {
|
|
28
28
|
return this.httpRequest.request({
|
|
29
29
|
method: "GET",
|
|
@@ -33,8 +33,8 @@ class EvmTransactionsService {
|
|
|
33
33
|
"address": address
|
|
34
34
|
},
|
|
35
35
|
query: {
|
|
36
|
-
"
|
|
37
|
-
"
|
|
36
|
+
"pageToken": pageToken,
|
|
37
|
+
"pageSize": pageSize
|
|
38
38
|
}
|
|
39
39
|
});
|
|
40
40
|
}
|
|
@@ -43,8 +43,8 @@ class EvmTransactionsService {
|
|
|
43
43
|
address,
|
|
44
44
|
startBlock,
|
|
45
45
|
endBlock,
|
|
46
|
-
|
|
47
|
-
|
|
46
|
+
pageToken,
|
|
47
|
+
pageSize = 10
|
|
48
48
|
}) {
|
|
49
49
|
return this.httpRequest.request({
|
|
50
50
|
method: "GET",
|
|
@@ -56,16 +56,16 @@ class EvmTransactionsService {
|
|
|
56
56
|
query: {
|
|
57
57
|
"startBlock": startBlock,
|
|
58
58
|
"endBlock": endBlock,
|
|
59
|
-
"
|
|
60
|
-
"
|
|
59
|
+
"pageToken": pageToken,
|
|
60
|
+
"pageSize": pageSize
|
|
61
61
|
}
|
|
62
62
|
});
|
|
63
63
|
}
|
|
64
64
|
listTransactions({
|
|
65
65
|
chainId,
|
|
66
66
|
address,
|
|
67
|
-
pageSize = 10,
|
|
68
67
|
pageToken,
|
|
68
|
+
pageSize = 10,
|
|
69
69
|
startBlock,
|
|
70
70
|
endBlock,
|
|
71
71
|
sortOrder
|
|
@@ -78,8 +78,8 @@ class EvmTransactionsService {
|
|
|
78
78
|
"address": address
|
|
79
79
|
},
|
|
80
80
|
query: {
|
|
81
|
-
"pageSize": pageSize,
|
|
82
81
|
"pageToken": pageToken,
|
|
82
|
+
"pageSize": pageSize,
|
|
83
83
|
"startBlock": startBlock,
|
|
84
84
|
"endBlock": endBlock,
|
|
85
85
|
"sortOrder": sortOrder
|
|
@@ -91,8 +91,8 @@ class EvmTransactionsService {
|
|
|
91
91
|
address,
|
|
92
92
|
startBlock,
|
|
93
93
|
endBlock,
|
|
94
|
-
|
|
95
|
-
|
|
94
|
+
pageToken,
|
|
95
|
+
pageSize = 10
|
|
96
96
|
}) {
|
|
97
97
|
return this.httpRequest.request({
|
|
98
98
|
method: "GET",
|
|
@@ -104,8 +104,8 @@ class EvmTransactionsService {
|
|
|
104
104
|
query: {
|
|
105
105
|
"startBlock": startBlock,
|
|
106
106
|
"endBlock": endBlock,
|
|
107
|
-
"
|
|
108
|
-
"
|
|
107
|
+
"pageToken": pageToken,
|
|
108
|
+
"pageSize": pageSize
|
|
109
109
|
}
|
|
110
110
|
});
|
|
111
111
|
}
|
|
@@ -114,8 +114,8 @@ class EvmTransactionsService {
|
|
|
114
114
|
address,
|
|
115
115
|
startBlock,
|
|
116
116
|
endBlock,
|
|
117
|
-
|
|
118
|
-
|
|
117
|
+
pageToken,
|
|
118
|
+
pageSize = 10
|
|
119
119
|
}) {
|
|
120
120
|
return this.httpRequest.request({
|
|
121
121
|
method: "GET",
|
|
@@ -127,8 +127,8 @@ class EvmTransactionsService {
|
|
|
127
127
|
query: {
|
|
128
128
|
"startBlock": startBlock,
|
|
129
129
|
"endBlock": endBlock,
|
|
130
|
-
"
|
|
131
|
-
"
|
|
130
|
+
"pageToken": pageToken,
|
|
131
|
+
"pageSize": pageSize
|
|
132
132
|
}
|
|
133
133
|
});
|
|
134
134
|
}
|
|
@@ -137,8 +137,8 @@ class EvmTransactionsService {
|
|
|
137
137
|
address,
|
|
138
138
|
startBlock,
|
|
139
139
|
endBlock,
|
|
140
|
-
|
|
141
|
-
|
|
140
|
+
pageToken,
|
|
141
|
+
pageSize = 10
|
|
142
142
|
}) {
|
|
143
143
|
return this.httpRequest.request({
|
|
144
144
|
method: "GET",
|
|
@@ -150,8 +150,8 @@ class EvmTransactionsService {
|
|
|
150
150
|
query: {
|
|
151
151
|
"startBlock": startBlock,
|
|
152
152
|
"endBlock": endBlock,
|
|
153
|
-
"
|
|
154
|
-
"
|
|
153
|
+
"pageToken": pageToken,
|
|
154
|
+
"pageSize": pageSize
|
|
155
155
|
}
|
|
156
156
|
});
|
|
157
157
|
}
|
|
@@ -160,8 +160,8 @@ class EvmTransactionsService {
|
|
|
160
160
|
address,
|
|
161
161
|
startBlock,
|
|
162
162
|
endBlock,
|
|
163
|
-
|
|
164
|
-
|
|
163
|
+
pageToken,
|
|
164
|
+
pageSize = 10
|
|
165
165
|
}) {
|
|
166
166
|
return this.httpRequest.request({
|
|
167
167
|
method: "GET",
|
|
@@ -173,8 +173,8 @@ class EvmTransactionsService {
|
|
|
173
173
|
query: {
|
|
174
174
|
"startBlock": startBlock,
|
|
175
175
|
"endBlock": endBlock,
|
|
176
|
-
"
|
|
177
|
-
"
|
|
176
|
+
"pageToken": pageToken,
|
|
177
|
+
"pageSize": pageSize
|
|
178
178
|
}
|
|
179
179
|
});
|
|
180
180
|
}
|
|
@@ -183,8 +183,8 @@ class EvmTransactionsService {
|
|
|
183
183
|
address,
|
|
184
184
|
startBlock,
|
|
185
185
|
endBlock,
|
|
186
|
-
|
|
187
|
-
|
|
186
|
+
pageToken,
|
|
187
|
+
pageSize = 10
|
|
188
188
|
}) {
|
|
189
189
|
return this.httpRequest.request({
|
|
190
190
|
method: "GET",
|
|
@@ -196,8 +196,8 @@ class EvmTransactionsService {
|
|
|
196
196
|
query: {
|
|
197
197
|
"startBlock": startBlock,
|
|
198
198
|
"endBlock": endBlock,
|
|
199
|
-
"
|
|
200
|
-
"
|
|
199
|
+
"pageToken": pageToken,
|
|
200
|
+
"pageSize": pageSize
|
|
201
201
|
}
|
|
202
202
|
});
|
|
203
203
|
}
|
|
@@ -229,8 +229,8 @@ class EvmTransactionsService {
|
|
|
229
229
|
}
|
|
230
230
|
listLatestTransactions({
|
|
231
231
|
chainId,
|
|
232
|
-
pageSize = 10,
|
|
233
232
|
pageToken,
|
|
233
|
+
pageSize = 10,
|
|
234
234
|
status
|
|
235
235
|
}) {
|
|
236
236
|
return this.httpRequest.request({
|
|
@@ -240,8 +240,8 @@ class EvmTransactionsService {
|
|
|
240
240
|
"chainId": chainId
|
|
241
241
|
},
|
|
242
242
|
query: {
|
|
243
|
-
"pageSize": pageSize,
|
|
244
243
|
"pageToken": pageToken,
|
|
244
|
+
"pageSize": pageSize,
|
|
245
245
|
"status": status
|
|
246
246
|
}
|
|
247
247
|
});
|
|
@@ -15,7 +15,7 @@ declare class NfTsService {
|
|
|
15
15
|
*/
|
|
16
16
|
reindexNft({ chainId, address, tokenId, }: {
|
|
17
17
|
/**
|
|
18
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
18
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
19
19
|
*/
|
|
20
20
|
chainId: string;
|
|
21
21
|
/**
|
|
@@ -33,23 +33,23 @@ declare class NfTsService {
|
|
|
33
33
|
* @returns ListNftTokens
|
|
34
34
|
* @throws ApiError
|
|
35
35
|
*/
|
|
36
|
-
listTokens({ chainId, address,
|
|
36
|
+
listTokens({ chainId, address, pageToken, pageSize, }: {
|
|
37
37
|
/**
|
|
38
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
38
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
39
39
|
*/
|
|
40
40
|
chainId: string;
|
|
41
41
|
/**
|
|
42
42
|
* Contract address on the relevant chain.
|
|
43
43
|
*/
|
|
44
44
|
address: string;
|
|
45
|
-
/**
|
|
46
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
47
|
-
*/
|
|
48
|
-
pageSize?: number;
|
|
49
45
|
/**
|
|
50
46
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
51
47
|
*/
|
|
52
48
|
pageToken?: string;
|
|
49
|
+
/**
|
|
50
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
51
|
+
*/
|
|
52
|
+
pageSize?: number;
|
|
53
53
|
}): CancelablePromise<ListNftTokens>;
|
|
54
54
|
/**
|
|
55
55
|
* Get token details
|
|
@@ -59,7 +59,7 @@ declare class NfTsService {
|
|
|
59
59
|
*/
|
|
60
60
|
getTokenDetails({ chainId, address, tokenId, }: {
|
|
61
61
|
/**
|
|
62
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
62
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
63
63
|
*/
|
|
64
64
|
chainId: string;
|
|
65
65
|
/**
|
|
@@ -20,8 +20,8 @@ class NfTsService {
|
|
|
20
20
|
listTokens({
|
|
21
21
|
chainId,
|
|
22
22
|
address,
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
pageToken,
|
|
24
|
+
pageSize = 10
|
|
25
25
|
}) {
|
|
26
26
|
return this.httpRequest.request({
|
|
27
27
|
method: "GET",
|
|
@@ -31,8 +31,8 @@ class NfTsService {
|
|
|
31
31
|
"address": address
|
|
32
32
|
},
|
|
33
33
|
query: {
|
|
34
|
-
"
|
|
35
|
-
"
|
|
34
|
+
"pageToken": pageToken,
|
|
35
|
+
"pageSize": pageSize
|
|
36
36
|
}
|
|
37
37
|
});
|
|
38
38
|
}
|
|
@@ -34,7 +34,7 @@ declare class PrimaryNetworkBlocksService {
|
|
|
34
34
|
* @returns ListPrimaryNetworkBlocksResponse
|
|
35
35
|
* @throws ApiError
|
|
36
36
|
*/
|
|
37
|
-
listPrimaryNetworkBlocksByNodeId({ blockchainId, network, nodeId,
|
|
37
|
+
listPrimaryNetworkBlocksByNodeId({ blockchainId, network, nodeId, pageToken, pageSize, }: {
|
|
38
38
|
/**
|
|
39
39
|
* A primary network blockchain id or alias.
|
|
40
40
|
*/
|
|
@@ -47,14 +47,14 @@ declare class PrimaryNetworkBlocksService {
|
|
|
47
47
|
* A primary network (P or X chain) nodeId.
|
|
48
48
|
*/
|
|
49
49
|
nodeId: string;
|
|
50
|
-
/**
|
|
51
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
52
|
-
*/
|
|
53
|
-
pageSize?: number;
|
|
54
50
|
/**
|
|
55
51
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
56
52
|
*/
|
|
57
53
|
pageToken?: string;
|
|
54
|
+
/**
|
|
55
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
56
|
+
*/
|
|
57
|
+
pageSize?: number;
|
|
58
58
|
}): CancelablePromise<ListPrimaryNetworkBlocksResponse>;
|
|
59
59
|
/**
|
|
60
60
|
* List latest blocks
|
|
@@ -62,7 +62,7 @@ declare class PrimaryNetworkBlocksService {
|
|
|
62
62
|
* @returns ListPrimaryNetworkBlocksResponse
|
|
63
63
|
* @throws ApiError
|
|
64
64
|
*/
|
|
65
|
-
listLatestPrimaryNetworkBlocks({ blockchainId, network,
|
|
65
|
+
listLatestPrimaryNetworkBlocks({ blockchainId, network, pageToken, pageSize, }: {
|
|
66
66
|
/**
|
|
67
67
|
* A primary network blockchain id or alias.
|
|
68
68
|
*/
|
|
@@ -71,14 +71,14 @@ declare class PrimaryNetworkBlocksService {
|
|
|
71
71
|
* Either mainnet or a testnet.
|
|
72
72
|
*/
|
|
73
73
|
network: Network;
|
|
74
|
-
/**
|
|
75
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
76
|
-
*/
|
|
77
|
-
pageSize?: number;
|
|
78
74
|
/**
|
|
79
75
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
80
76
|
*/
|
|
81
77
|
pageToken?: string;
|
|
78
|
+
/**
|
|
79
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
80
|
+
*/
|
|
81
|
+
pageSize?: number;
|
|
82
82
|
}): CancelablePromise<ListPrimaryNetworkBlocksResponse>;
|
|
83
83
|
}
|
|
84
84
|
|
|
@@ -21,8 +21,8 @@ class PrimaryNetworkBlocksService {
|
|
|
21
21
|
blockchainId,
|
|
22
22
|
network,
|
|
23
23
|
nodeId,
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
pageToken,
|
|
25
|
+
pageSize = 10
|
|
26
26
|
}) {
|
|
27
27
|
return this.httpRequest.request({
|
|
28
28
|
method: "GET",
|
|
@@ -33,16 +33,16 @@ class PrimaryNetworkBlocksService {
|
|
|
33
33
|
"nodeId": nodeId
|
|
34
34
|
},
|
|
35
35
|
query: {
|
|
36
|
-
"
|
|
37
|
-
"
|
|
36
|
+
"pageToken": pageToken,
|
|
37
|
+
"pageSize": pageSize
|
|
38
38
|
}
|
|
39
39
|
});
|
|
40
40
|
}
|
|
41
41
|
listLatestPrimaryNetworkBlocks({
|
|
42
42
|
blockchainId,
|
|
43
43
|
network,
|
|
44
|
-
|
|
45
|
-
|
|
44
|
+
pageToken,
|
|
45
|
+
pageSize = 10
|
|
46
46
|
}) {
|
|
47
47
|
return this.httpRequest.request({
|
|
48
48
|
method: "GET",
|
|
@@ -52,8 +52,8 @@ class PrimaryNetworkBlocksService {
|
|
|
52
52
|
"network": network
|
|
53
53
|
},
|
|
54
54
|
query: {
|
|
55
|
-
"
|
|
56
|
-
"
|
|
55
|
+
"pageToken": pageToken,
|
|
56
|
+
"pageSize": pageSize
|
|
57
57
|
}
|
|
58
58
|
});
|
|
59
59
|
}
|