@avalabs/glacier-sdk 2.8.0-canary.f195b3d.0 → 2.8.0-canary.f2340be.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 +260 -185
- package/dist/index.js +66 -26
- package/esm/generated/models/AddressActivityMetadata.d.ts +8 -0
- package/esm/generated/models/{Asset.d.ts → AggregatedAssetAmount.d.ts} +3 -5
- package/esm/generated/models/{XChainAssetBalance.d.ts → AssetAmount.d.ts} +2 -6
- package/esm/generated/models/AssetWithPriceInfo.d.ts +0 -3
- 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 +0 -3
- 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 +5 -0
- package/esm/generated/models/GlacierApiFeature.js +6 -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 +1 -3
- 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 +3 -0
- package/esm/generated/models/PrimaryNetworkAssetType.d.ts +3 -0
- package/esm/generated/models/PrimaryNetworkOperationType.d.ts +7 -0
- package/esm/generated/models/PrimaryNetworkOperationType.js +8 -0
- package/esm/generated/models/PrimaryNetworkTxType.d.ts +2 -1
- package/esm/generated/models/PrimaryNetworkTxType.js +2 -1
- package/esm/generated/models/RegisterWebhookRequest.d.ts +0 -3
- 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 +2 -0
- package/esm/generated/models/XChainAssetDetails.d.ts +0 -6
- 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 +0 -3
- package/esm/generated/models/XChainTransactionType.d.ts +3 -0
- package/esm/generated/services/DefaultService.d.ts +33 -0
- package/esm/generated/services/DefaultService.js +32 -1
- package/esm/generated/services/EvmBalancesService.d.ts +5 -5
- package/esm/generated/services/EvmBlocksService.d.ts +2 -2
- 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 +12 -12
- package/esm/generated/services/NfTsService.d.ts +3 -3
- package/esm/generated/services/PrimaryNetworkRewardsService.d.ts +2 -2
- package/esm/generated/services/PrimaryNetworkService.js +1 -1
- package/esm/generated/services/TeleporterService.d.ts +9 -17
- package/esm/generated/services/TeleporterService.js +2 -6
- package/esm/index.d.ts +8 -2
- package/esm/index.js +3 -2
- package/package.json +2 -2
- package/esm/generated/models/CreateEvmTransactionExportRequest.js +0 -8
- package/esm/generated/models/CreatePrimaryNetworkTransactionExportRequest.js +0 -8
|
@@ -14,7 +14,7 @@ declare class EvmBlocksService {
|
|
|
14
14
|
*/
|
|
15
15
|
getLatestBlocks({ chainId, pageToken, pageSize, }: {
|
|
16
16
|
/**
|
|
17
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
17
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
18
18
|
*/
|
|
19
19
|
chainId: string;
|
|
20
20
|
/**
|
|
@@ -34,7 +34,7 @@ declare class EvmBlocksService {
|
|
|
34
34
|
*/
|
|
35
35
|
getBlock({ chainId, blockId, }: {
|
|
36
36
|
/**
|
|
37
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
37
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
38
38
|
*/
|
|
39
39
|
chainId: string;
|
|
40
40
|
/**
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { GetChainResponse } from '../models/GetChainResponse.js';
|
|
2
|
+
import { GlacierApiFeature } from '../models/GlacierApiFeature.js';
|
|
2
3
|
import { ListChainsResponse } from '../models/ListChainsResponse.js';
|
|
3
4
|
import { NetworkType } from '../models/NetworkType.js';
|
|
4
5
|
import { CancelablePromise } from '../core/CancelablePromise.js';
|
|
@@ -13,11 +14,15 @@ declare class EvmChainsService {
|
|
|
13
14
|
* @returns ListChainsResponse
|
|
14
15
|
* @throws ApiError
|
|
15
16
|
*/
|
|
16
|
-
supportedChains({ network, }: {
|
|
17
|
+
supportedChains({ network, feature, }: {
|
|
17
18
|
/**
|
|
18
19
|
* mainnet or testnet.
|
|
19
20
|
*/
|
|
20
21
|
network?: NetworkType;
|
|
22
|
+
/**
|
|
23
|
+
* Filter by feature.
|
|
24
|
+
*/
|
|
25
|
+
feature?: GlacierApiFeature;
|
|
21
26
|
}): CancelablePromise<ListChainsResponse>;
|
|
22
27
|
/**
|
|
23
28
|
* Get chain information
|
|
@@ -27,7 +32,7 @@ declare class EvmChainsService {
|
|
|
27
32
|
*/
|
|
28
33
|
getChainInfo({ chainId, }: {
|
|
29
34
|
/**
|
|
30
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
35
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
31
36
|
*/
|
|
32
37
|
chainId: string;
|
|
33
38
|
}): CancelablePromise<GetChainResponse>;
|
|
@@ -3,13 +3,15 @@ class EvmChainsService {
|
|
|
3
3
|
this.httpRequest = httpRequest;
|
|
4
4
|
}
|
|
5
5
|
supportedChains({
|
|
6
|
-
network
|
|
6
|
+
network,
|
|
7
|
+
feature
|
|
7
8
|
}) {
|
|
8
9
|
return this.httpRequest.request({
|
|
9
10
|
method: "GET",
|
|
10
11
|
url: "/v1/chains",
|
|
11
12
|
query: {
|
|
12
|
-
"network": network
|
|
13
|
+
"network": network,
|
|
14
|
+
"feature": feature
|
|
13
15
|
}
|
|
14
16
|
});
|
|
15
17
|
}
|
|
@@ -18,7 +18,7 @@ declare class EvmContractsService {
|
|
|
18
18
|
*/
|
|
19
19
|
getContractMetadata({ chainId, address, }: {
|
|
20
20
|
/**
|
|
21
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
21
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
22
22
|
*/
|
|
23
23
|
chainId: string;
|
|
24
24
|
/**
|
|
@@ -34,7 +34,7 @@ declare class EvmContractsService {
|
|
|
34
34
|
*/
|
|
35
35
|
updateContractInfo({ chainId, address, requestBody, }: {
|
|
36
36
|
/**
|
|
37
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
37
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
38
38
|
*/
|
|
39
39
|
chainId: string;
|
|
40
40
|
/**
|
|
@@ -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
|
/**
|
|
@@ -44,7 +44,7 @@ declare class EvmTransactionsService {
|
|
|
44
44
|
*/
|
|
45
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
|
/**
|
|
@@ -68,7 +68,7 @@ declare class EvmTransactionsService {
|
|
|
68
68
|
*/
|
|
69
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
|
/**
|
|
@@ -102,7 +102,7 @@ declare class EvmTransactionsService {
|
|
|
102
102
|
*/
|
|
103
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
|
/**
|
|
@@ -138,7 +138,7 @@ declare class EvmTransactionsService {
|
|
|
138
138
|
*/
|
|
139
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
|
/**
|
|
@@ -170,7 +170,7 @@ declare class EvmTransactionsService {
|
|
|
170
170
|
*/
|
|
171
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
|
/**
|
|
@@ -202,7 +202,7 @@ declare class EvmTransactionsService {
|
|
|
202
202
|
*/
|
|
203
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
|
/**
|
|
@@ -234,7 +234,7 @@ declare class EvmTransactionsService {
|
|
|
234
234
|
*/
|
|
235
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
|
/**
|
|
@@ -268,7 +268,7 @@ declare class EvmTransactionsService {
|
|
|
268
268
|
*/
|
|
269
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
|
/**
|
|
@@ -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
|
/**
|
|
@@ -332,7 +332,7 @@ declare class EvmTransactionsService {
|
|
|
332
332
|
*/
|
|
333
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
338
|
/**
|
|
@@ -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
|
/**
|
|
@@ -35,7 +35,7 @@ declare class NfTsService {
|
|
|
35
35
|
*/
|
|
36
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
|
/**
|
|
@@ -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
|
/**
|
|
@@ -21,7 +21,7 @@ declare class PrimaryNetworkRewardsService {
|
|
|
21
21
|
*/
|
|
22
22
|
network: Network;
|
|
23
23
|
/**
|
|
24
|
-
* A comma separated list of X-Chain or P-Chain wallet addresses, starting with "avax"/"fuji", "P-avax"/"P-fuji" or "X-avax"/"X-fuji".
|
|
24
|
+
* A comma separated list of X-Chain or P-Chain wallet addresses, starting with "avax"/"fuji", "P-avax"/"P-fuji" or "X-avax"/"X-fuji". One of addresses or nodeIds is required.
|
|
25
25
|
*/
|
|
26
26
|
addresses?: string;
|
|
27
27
|
/**
|
|
@@ -33,7 +33,7 @@ declare class PrimaryNetworkRewardsService {
|
|
|
33
33
|
*/
|
|
34
34
|
pageSize?: number;
|
|
35
35
|
/**
|
|
36
|
-
* A comma separated list of node ids to filter by.
|
|
36
|
+
* A comma separated list of node ids to filter by. One of addresses or nodeIds is required.
|
|
37
37
|
*/
|
|
38
38
|
nodeIds?: string;
|
|
39
39
|
/**
|
|
@@ -10,23 +10,15 @@ declare class TeleporterService {
|
|
|
10
10
|
constructor(httpRequest: BaseHttpRequest);
|
|
11
11
|
/**
|
|
12
12
|
* Get a teleporter message
|
|
13
|
-
* Gets a teleporter message by
|
|
13
|
+
* Gets a teleporter message by message ID.
|
|
14
14
|
* @returns any
|
|
15
15
|
* @throws ApiError
|
|
16
16
|
*/
|
|
17
|
-
getTeleporterMessage({
|
|
18
|
-
/**
|
|
19
|
-
* The base58 encoded blockchain ID of the source chain that the teleporter message was sent from.
|
|
20
|
-
*/
|
|
21
|
-
sourceBlockchainId: any;
|
|
22
|
-
/**
|
|
23
|
-
* The base58 encoded blockchain ID of the destination chain that the teleporter message was sent to.
|
|
24
|
-
*/
|
|
25
|
-
destinationBlockchainId: any;
|
|
17
|
+
getTeleporterMessage({ messageId, }: {
|
|
26
18
|
/**
|
|
27
19
|
* The message ID of the teleporter message.
|
|
28
20
|
*/
|
|
29
|
-
messageId:
|
|
21
|
+
messageId: string;
|
|
30
22
|
}): CancelablePromise<(PendingTeleporterMessage | DeliveredTeleporterMessage | DeliveredSourceNotIndexedTeleporterMessage)>;
|
|
31
23
|
/**
|
|
32
24
|
* List teleporter messages
|
|
@@ -44,21 +36,21 @@ declare class TeleporterService {
|
|
|
44
36
|
*/
|
|
45
37
|
pageSize?: number;
|
|
46
38
|
/**
|
|
47
|
-
* The base58 encoded blockchain ID of the source chain that the teleporter message was sent from.
|
|
39
|
+
* The base58 encoded blockchain ID or evm chain ID of the source chain that the teleporter message was sent from.
|
|
48
40
|
*/
|
|
49
|
-
sourceBlockchainId?:
|
|
41
|
+
sourceBlockchainId?: string;
|
|
50
42
|
/**
|
|
51
|
-
* The base58 encoded blockchain ID of the destination chain that the teleporter message was sent to.
|
|
43
|
+
* The base58 encoded blockchain ID or evm chain ID of the destination chain that the teleporter message was sent to.
|
|
52
44
|
*/
|
|
53
|
-
destinationBlockchainId?:
|
|
45
|
+
destinationBlockchainId?: string;
|
|
54
46
|
/**
|
|
55
47
|
* The address of the recipient of the teleporter message.
|
|
56
48
|
*/
|
|
57
|
-
to?:
|
|
49
|
+
to?: string;
|
|
58
50
|
/**
|
|
59
51
|
* The address of the sender of the teleporter message.
|
|
60
52
|
*/
|
|
61
|
-
from?:
|
|
53
|
+
from?: string;
|
|
62
54
|
}): CancelablePromise<NextPageToken>;
|
|
63
55
|
}
|
|
64
56
|
|
|
@@ -3,16 +3,12 @@ class TeleporterService {
|
|
|
3
3
|
this.httpRequest = httpRequest;
|
|
4
4
|
}
|
|
5
5
|
getTeleporterMessage({
|
|
6
|
-
sourceBlockchainId,
|
|
7
|
-
destinationBlockchainId,
|
|
8
6
|
messageId
|
|
9
7
|
}) {
|
|
10
8
|
return this.httpRequest.request({
|
|
11
9
|
method: "GET",
|
|
12
|
-
url: "/v1/teleporter/messages
|
|
13
|
-
|
|
14
|
-
"sourceBlockchainId": sourceBlockchainId,
|
|
15
|
-
"destinationBlockchainId": destinationBlockchainId,
|
|
10
|
+
url: "/v1/teleporter/messages/{messageId}",
|
|
11
|
+
path: {
|
|
16
12
|
"messageId": messageId
|
|
17
13
|
}
|
|
18
14
|
});
|
package/esm/index.d.ts
CHANGED
|
@@ -6,7 +6,8 @@ export { OpenAPI, OpenAPIConfig } from './generated/core/OpenAPI.js';
|
|
|
6
6
|
export { ActiveDelegatorDetails } from './generated/models/ActiveDelegatorDetails.js';
|
|
7
7
|
export { ActiveValidatorDetails } from './generated/models/ActiveValidatorDetails.js';
|
|
8
8
|
export { AddressActivityMetadata } from './generated/models/AddressActivityMetadata.js';
|
|
9
|
-
export {
|
|
9
|
+
export { AggregatedAssetAmount } from './generated/models/AggregatedAssetAmount.js';
|
|
10
|
+
export { AssetAmount } from './generated/models/AssetAmount.js';
|
|
10
11
|
export { AssetWithPriceInfo } from './generated/models/AssetWithPriceInfo.js';
|
|
11
12
|
export { Blockchain } from './generated/models/Blockchain.js';
|
|
12
13
|
export { BlockchainId } from './generated/models/BlockchainId.js';
|
|
@@ -56,6 +57,7 @@ export { EventType } from './generated/models/EventType.js';
|
|
|
56
57
|
export { EvmBlock } from './generated/models/EvmBlock.js';
|
|
57
58
|
export { EVMInput } from './generated/models/EVMInput.js';
|
|
58
59
|
export { EvmNetworkOptions } from './generated/models/EvmNetworkOptions.js';
|
|
60
|
+
export { EVMOperationType } from './generated/models/EVMOperationType.js';
|
|
59
61
|
export { EVMOutput } from './generated/models/EVMOutput.js';
|
|
60
62
|
export { FullNativeTransactionDetails } from './generated/models/FullNativeTransactionDetails.js';
|
|
61
63
|
export { GetChainResponse } from './generated/models/GetChainResponse.js';
|
|
@@ -64,6 +66,7 @@ export { GetNativeBalanceResponse } from './generated/models/GetNativeBalanceRes
|
|
|
64
66
|
export { GetNetworkDetailsResponse } from './generated/models/GetNetworkDetailsResponse.js';
|
|
65
67
|
export { GetPrimaryNetworkBlockResponse } from './generated/models/GetPrimaryNetworkBlockResponse.js';
|
|
66
68
|
export { GetTransactionResponse } from './generated/models/GetTransactionResponse.js';
|
|
69
|
+
export { GlacierApiFeature } from './generated/models/GlacierApiFeature.js';
|
|
67
70
|
export { HistoricalReward } from './generated/models/HistoricalReward.js';
|
|
68
71
|
export { ImageAsset } from './generated/models/ImageAsset.js';
|
|
69
72
|
export { InternalTransaction } from './generated/models/InternalTransaction.js';
|
|
@@ -132,6 +135,7 @@ export { PrimaryNetworkAssetType } from './generated/models/PrimaryNetworkAssetT
|
|
|
132
135
|
export { PrimaryNetworkBlock } from './generated/models/PrimaryNetworkBlock.js';
|
|
133
136
|
export { PrimaryNetworkChainInfo } from './generated/models/PrimaryNetworkChainInfo.js';
|
|
134
137
|
export { PrimaryNetworkChainName } from './generated/models/PrimaryNetworkChainName.js';
|
|
138
|
+
export { PrimaryNetworkOperationType } from './generated/models/PrimaryNetworkOperationType.js';
|
|
135
139
|
export { PrimaryNetworkOptions } from './generated/models/PrimaryNetworkOptions.js';
|
|
136
140
|
export { PrimaryNetworkTxType } from './generated/models/PrimaryNetworkTxType.js';
|
|
137
141
|
export { ProposerDetails } from './generated/models/ProposerDetails.js';
|
|
@@ -146,7 +150,9 @@ export { SharedSecretsResponse } from './generated/models/SharedSecretsResponse.
|
|
|
146
150
|
export { SortOrder } from './generated/models/SortOrder.js';
|
|
147
151
|
export { StakingDistribution } from './generated/models/StakingDistribution.js';
|
|
148
152
|
export { Subnet } from './generated/models/Subnet.js';
|
|
153
|
+
export { SubnetOwnershipInfo } from './generated/models/SubnetOwnershipInfo.js';
|
|
149
154
|
export { TeleporterDestinationTransaction } from './generated/models/TeleporterDestinationTransaction.js';
|
|
155
|
+
export { TeleporterReceipt } from './generated/models/TeleporterReceipt.js';
|
|
150
156
|
export { TeleporterRewardDetails } from './generated/models/TeleporterRewardDetails.js';
|
|
151
157
|
export { TeleporterSourceTransaction } from './generated/models/TeleporterSourceTransaction.js';
|
|
152
158
|
export { TransactionDetails } from './generated/models/TransactionDetails.js';
|
|
@@ -156,6 +162,7 @@ export { TransactionStatus } from './generated/models/TransactionStatus.js';
|
|
|
156
162
|
export { TransactionVertexDetail } from './generated/models/TransactionVertexDetail.js';
|
|
157
163
|
export { UnknownContract } from './generated/models/UnknownContract.js';
|
|
158
164
|
export { UpdateContractResponse } from './generated/models/UpdateContractResponse.js';
|
|
165
|
+
export { UpdateWebhookRequest } from './generated/models/UpdateWebhookRequest.js';
|
|
159
166
|
export { UtilityAddresses } from './generated/models/UtilityAddresses.js';
|
|
160
167
|
export { Utxo } from './generated/models/Utxo.js';
|
|
161
168
|
export { UtxoCredential } from './generated/models/UtxoCredential.js';
|
|
@@ -167,7 +174,6 @@ export { VmName } from './generated/models/VmName.js';
|
|
|
167
174
|
export { WebhookResponse } from './generated/models/WebhookResponse.js';
|
|
168
175
|
export { WebhookStatus } from './generated/models/WebhookStatus.js';
|
|
169
176
|
export { WebhookStatusType } from './generated/models/WebhookStatusType.js';
|
|
170
|
-
export { XChainAssetBalance } from './generated/models/XChainAssetBalance.js';
|
|
171
177
|
export { XChainAssetDetails } from './generated/models/XChainAssetDetails.js';
|
|
172
178
|
export { XChainBalances } from './generated/models/XChainBalances.js';
|
|
173
179
|
export { XChainId } from './generated/models/XChainId.js';
|
package/esm/index.js
CHANGED
|
@@ -16,8 +16,6 @@ export { ContractSubmissionErc1155 } from './generated/models/ContractSubmission
|
|
|
16
16
|
export { ContractSubmissionErc20 } from './generated/models/ContractSubmissionErc20.js';
|
|
17
17
|
export { ContractSubmissionErc721 } from './generated/models/ContractSubmissionErc721.js';
|
|
18
18
|
export { ContractSubmissionUnknown } from './generated/models/ContractSubmissionUnknown.js';
|
|
19
|
-
export { CreateEvmTransactionExportRequest } from './generated/models/CreateEvmTransactionExportRequest.js';
|
|
20
|
-
export { CreatePrimaryNetworkTransactionExportRequest } from './generated/models/CreatePrimaryNetworkTransactionExportRequest.js';
|
|
21
19
|
export { CurrencyCode } from './generated/models/CurrencyCode.js';
|
|
22
20
|
export { DelegationStatusType } from './generated/models/DelegationStatusType.js';
|
|
23
21
|
export { DeliveredSourceNotIndexedTeleporterMessage } from './generated/models/DeliveredSourceNotIndexedTeleporterMessage.js';
|
|
@@ -32,6 +30,8 @@ export { Erc721Contract } from './generated/models/Erc721Contract.js';
|
|
|
32
30
|
export { Erc721Token } from './generated/models/Erc721Token.js';
|
|
33
31
|
export { Erc721TokenBalance } from './generated/models/Erc721TokenBalance.js';
|
|
34
32
|
export { EventType } from './generated/models/EventType.js';
|
|
33
|
+
export { EVMOperationType } from './generated/models/EVMOperationType.js';
|
|
34
|
+
export { GlacierApiFeature } from './generated/models/GlacierApiFeature.js';
|
|
35
35
|
export { InternalTransactionOpCall } from './generated/models/InternalTransactionOpCall.js';
|
|
36
36
|
export { Network } from './generated/models/Network.js';
|
|
37
37
|
export { NetworkType } from './generated/models/NetworkType.js';
|
|
@@ -48,6 +48,7 @@ export { PrimaryNetwork } from './generated/models/PrimaryNetwork.js';
|
|
|
48
48
|
export { PrimaryNetworkAssetCap } from './generated/models/PrimaryNetworkAssetCap.js';
|
|
49
49
|
export { PrimaryNetworkAssetType } from './generated/models/PrimaryNetworkAssetType.js';
|
|
50
50
|
export { PrimaryNetworkChainName } from './generated/models/PrimaryNetworkChainName.js';
|
|
51
|
+
export { PrimaryNetworkOperationType } from './generated/models/PrimaryNetworkOperationType.js';
|
|
51
52
|
export { PrimaryNetworkTxType } from './generated/models/PrimaryNetworkTxType.js';
|
|
52
53
|
export { RemovedValidatorDetails } from './generated/models/RemovedValidatorDetails.js';
|
|
53
54
|
export { ResourceLinkType } from './generated/models/ResourceLinkType.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@avalabs/glacier-sdk",
|
|
3
|
-
"version": "2.8.0-canary.
|
|
3
|
+
"version": "2.8.0-canary.f2340be.0+f2340be",
|
|
4
4
|
"description": "sdk for interacting with glacier-api",
|
|
5
5
|
"author": "Oliver Wang <oliver.wang@avalabs.org>",
|
|
6
6
|
"homepage": "https://github.com/ava-labs/avalanche-sdks#readme",
|
|
@@ -29,5 +29,5 @@
|
|
|
29
29
|
"bugs": {
|
|
30
30
|
"url": "https://github.com/ava-labs/avalanche-sdks/issues"
|
|
31
31
|
},
|
|
32
|
-
"gitHead": "
|
|
32
|
+
"gitHead": "f2340bee966c6dae4e139f5a94a44506f64523e5"
|
|
33
33
|
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
var CreateEvmTransactionExportRequest;
|
|
2
|
-
((CreateEvmTransactionExportRequest2) => {
|
|
3
|
-
((type2) => {
|
|
4
|
-
type2["TRANSACTION_EXPORT_EVM"] = "TRANSACTION_EXPORT_EVM";
|
|
5
|
-
})(CreateEvmTransactionExportRequest2.type || (CreateEvmTransactionExportRequest2.type = {}));
|
|
6
|
-
})(CreateEvmTransactionExportRequest || (CreateEvmTransactionExportRequest = {}));
|
|
7
|
-
|
|
8
|
-
export { CreateEvmTransactionExportRequest };
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
var CreatePrimaryNetworkTransactionExportRequest;
|
|
2
|
-
((CreatePrimaryNetworkTransactionExportRequest2) => {
|
|
3
|
-
((type2) => {
|
|
4
|
-
type2["TRANSACTION_EXPORT_PRIMARY_NETWORK"] = "TRANSACTION_EXPORT_PRIMARY_NETWORK";
|
|
5
|
-
})(CreatePrimaryNetworkTransactionExportRequest2.type || (CreatePrimaryNetworkTransactionExportRequest2.type = {}));
|
|
6
|
-
})(CreatePrimaryNetworkTransactionExportRequest || (CreatePrimaryNetworkTransactionExportRequest = {}));
|
|
7
|
-
|
|
8
|
-
export { CreatePrimaryNetworkTransactionExportRequest };
|