@avalabs/glacier-sdk 2.8.0-alpha.95 → 2.8.0-alpha.96
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 +33 -21
- package/dist/index.js +25 -6
- package/esm/generated/models/{ListCChainExportTxsResponse.d.ts → ListCChainAtomicTransactionsResponse.d.ts} +4 -3
- package/esm/generated/models/NftCollection.d.ts +2 -0
- package/esm/generated/models/NftCollectionWithMetrics.d.ts +2 -0
- package/esm/generated/models/ResourceLink.d.ts +8 -0
- package/esm/generated/models/ResourceLinkType.d.ts +22 -0
- package/esm/generated/models/ResourceLinkType.js +23 -0
- package/esm/generated/services/PrimaryNetworkService.d.ts +3 -12
- package/esm/generated/services/PrimaryNetworkService.js +2 -6
- package/esm/index.d.ts +3 -2
- package/esm/index.js +1 -0
- package/package.json +2 -2
- package/esm/generated/models/ListCChainImportTxsResponse.d.ts +0 -11
package/dist/index.d.ts
CHANGED
|
@@ -931,6 +931,32 @@ declare enum ErcType {
|
|
|
931
931
|
UNKNOWN = "UNKNOWN"
|
|
932
932
|
}
|
|
933
933
|
|
|
934
|
+
declare enum ResourceLinkType {
|
|
935
|
+
BLOG = "Blog",
|
|
936
|
+
COIN_GECKO = "CoinGecko",
|
|
937
|
+
COIN_MARKET_CAP = "CoinMarketCap",
|
|
938
|
+
DISCORD = "Discord",
|
|
939
|
+
DOCUMENTATION = "Documentation",
|
|
940
|
+
FACEBOOK = "Facebook",
|
|
941
|
+
GITHUB = "Github",
|
|
942
|
+
INSTAGRAM = "Instagram",
|
|
943
|
+
LINKED_IN = "LinkedIn",
|
|
944
|
+
MEDIUM = "Medium",
|
|
945
|
+
REDDIT = "Reddit",
|
|
946
|
+
SUPPORT = "Support",
|
|
947
|
+
TELEGRAM = "Telegram",
|
|
948
|
+
TIK_TOK = "TikTok",
|
|
949
|
+
TWITTER = "Twitter",
|
|
950
|
+
WEBSITE = "Website",
|
|
951
|
+
WHITEPAPER = "Whitepaper",
|
|
952
|
+
YOUTUBE = "Youtube"
|
|
953
|
+
}
|
|
954
|
+
|
|
955
|
+
type ResourceLink = {
|
|
956
|
+
type: ResourceLinkType;
|
|
957
|
+
url: string;
|
|
958
|
+
};
|
|
959
|
+
|
|
934
960
|
type NftCollection = {
|
|
935
961
|
/**
|
|
936
962
|
* A wallet or contract address in mixed-case checksum encoding.
|
|
@@ -948,6 +974,7 @@ type NftCollection = {
|
|
|
948
974
|
bannerUri?: string;
|
|
949
975
|
logoUri?: string;
|
|
950
976
|
description?: string;
|
|
977
|
+
resourceLinks?: Array<ResourceLink>;
|
|
951
978
|
};
|
|
952
979
|
|
|
953
980
|
type Address = {
|
|
@@ -1150,6 +1177,7 @@ type NftCollectionWithMetrics = {
|
|
|
1150
1177
|
bannerUri?: string;
|
|
1151
1178
|
logoUri?: string;
|
|
1152
1179
|
description?: string;
|
|
1180
|
+
resourceLinks?: Array<ResourceLink>;
|
|
1153
1181
|
metrics: CollectionMetrics;
|
|
1154
1182
|
};
|
|
1155
1183
|
|
|
@@ -2309,20 +2337,12 @@ type ListCChainAtomicBalancesResponse = {
|
|
|
2309
2337
|
balances: CChainAtomicBalances;
|
|
2310
2338
|
};
|
|
2311
2339
|
|
|
2312
|
-
type
|
|
2313
|
-
/**
|
|
2314
|
-
* 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.
|
|
2315
|
-
*/
|
|
2316
|
-
nextPageToken?: string;
|
|
2317
|
-
transactions: Array<CChainExportTransaction>;
|
|
2318
|
-
};
|
|
2319
|
-
|
|
2320
|
-
type ListCChainImportTxsResponse = {
|
|
2340
|
+
type ListCChainAtomicTransactionsResponse = {
|
|
2321
2341
|
/**
|
|
2322
2342
|
* 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.
|
|
2323
2343
|
*/
|
|
2324
2344
|
nextPageToken?: string;
|
|
2325
|
-
transactions: Array<CChainImportTransaction>;
|
|
2345
|
+
transactions: Array<(CChainExportTransaction | CChainImportTransaction)>;
|
|
2326
2346
|
};
|
|
2327
2347
|
|
|
2328
2348
|
type PChainAsset = {
|
|
@@ -2843,7 +2863,7 @@ declare class PrimaryNetworkService {
|
|
|
2843
2863
|
* query parameter, if provided.
|
|
2844
2864
|
*/
|
|
2845
2865
|
sortOrder?: SortOrder;
|
|
2846
|
-
}): CancelablePromise<(ListPChainTransactionsResponse | ListXChainTransactionsResponse |
|
|
2866
|
+
}): CancelablePromise<(ListPChainTransactionsResponse | ListXChainTransactionsResponse | ListCChainAtomicTransactionsResponse)>;
|
|
2847
2867
|
/**
|
|
2848
2868
|
* Returns active staking transactions for supplied addresses.
|
|
2849
2869
|
* @returns ListPChainTransactionsResponse
|
|
@@ -3088,19 +3108,11 @@ declare class PrimaryNetworkService {
|
|
|
3088
3108
|
* @returns XChainAssetDetails
|
|
3089
3109
|
* @throws ApiError
|
|
3090
3110
|
*/
|
|
3091
|
-
getAssetDetails({ assetId,
|
|
3111
|
+
getAssetDetails({ assetId, }: {
|
|
3092
3112
|
/**
|
|
3093
3113
|
* Asset ID for any asset on X-Chain
|
|
3094
3114
|
*/
|
|
3095
3115
|
assetId: string;
|
|
3096
|
-
/**
|
|
3097
|
-
* A supported chain name. BlockchainId values will be deprecated in a future release. Please use chain names like p-chain, x-chain or c-chain instead!
|
|
3098
|
-
*/
|
|
3099
|
-
blockchainId: BlockchainId;
|
|
3100
|
-
/**
|
|
3101
|
-
* Either mainnet or a testnet.
|
|
3102
|
-
*/
|
|
3103
|
-
network: Network;
|
|
3104
3116
|
}): CancelablePromise<XChainAssetDetails>;
|
|
3105
3117
|
/**
|
|
3106
3118
|
* Returns asset transactions corresponding to the asset id on X-Chain.
|
|
@@ -3174,4 +3186,4 @@ declare class ApiError extends Error {
|
|
|
3174
3186
|
constructor(request: ApiRequestOptions, response: ApiResult, message: string);
|
|
3175
3187
|
}
|
|
3176
3188
|
|
|
3177
|
-
export { Address, ApiError, Asset, BaseHttpRequest, Block, BlockchainId, CChainAtomicBalances, CChainExportTransaction, CChainImportTransaction, CChainSharedAssetBalance, CancelError, CancelListingEventResponse, CancelablePromise, ChainAddressChainIdMap, ChainAddressChainIdMapListResponse, ChainInfo, ChainStatus, CloseAuctionEventResponse, CollectionMetrics, CollectionSortByOption, CreateTransactionExportRequest, CurrencyCode, EVMInput, EVMOutput, Erc1155Token, Erc1155TokenBalance, Erc1155TokenMetadata, Erc1155Transfer, Erc1155TransferDetails, Erc20Token, Erc20TokenBalance, Erc20Transfer, Erc20TransferDetails, Erc721Token, Erc721TokenBalance, Erc721TokenMetadata, Erc721Transfer, Erc721TransferDetails, ErcType, EvmNetworkOptions, EvmService, FullNativeTransactionDetails, GetBlockResponse, GetChainResponse, GetNativeBalanceResponse, GetTransactionResponse, Glacier, HealthCheckService, InternalTransaction, InternalTransactionDetails, InternalTransactionOpCall, ListBlocksResponse, ListCChainAtomicBalancesResponse,
|
|
3189
|
+
export { Address, ApiError, Asset, BaseHttpRequest, Block, BlockchainId, CChainAtomicBalances, CChainExportTransaction, CChainImportTransaction, CChainSharedAssetBalance, CancelError, CancelListingEventResponse, CancelablePromise, ChainAddressChainIdMap, ChainAddressChainIdMapListResponse, ChainInfo, ChainStatus, CloseAuctionEventResponse, CollectionMetrics, CollectionSortByOption, CreateTransactionExportRequest, CurrencyCode, EVMInput, EVMOutput, Erc1155Token, Erc1155TokenBalance, Erc1155TokenMetadata, Erc1155Transfer, Erc1155TransferDetails, Erc20Token, Erc20TokenBalance, Erc20Transfer, Erc20TransferDetails, Erc721Token, Erc721TokenBalance, Erc721TokenMetadata, Erc721Transfer, Erc721TransferDetails, ErcType, EvmNetworkOptions, EvmService, FullNativeTransactionDetails, GetBlockResponse, GetChainResponse, GetNativeBalanceResponse, GetTransactionResponse, Glacier, HealthCheckService, InternalTransaction, InternalTransactionDetails, InternalTransactionOpCall, ListBlocksResponse, ListCChainAtomicBalancesResponse, ListCChainAtomicTransactionsResponse, ListChainsResponse, ListCollectibleBalancesResponse, ListErc1155BalancesResponse, ListErc1155TransactionsResponse, ListErc20BalancesResponse, ListErc20TransactionsResponse, ListErc721BalancesResponse, ListErc721TransactionsResponse, ListInternalTransactionsResponse, ListListingsResponse, ListNativeTransactionsResponse, ListNftCollectionWithMetricsResponse, ListPChainBalancesResponse, ListPChainTransactionsResponse, ListPChainUtxosResponse, ListTransactionDetailsResponse, ListTransfersResponse, ListUtxosResponse, ListXChainBalancesResponse, ListXChainTransactionsResponse, ListXChainVerticesResponse, ListingCurrencyType, ListingEventType, ListingResponse, ListingType, ListingsSortByOption, Method, Money, NativeTokenBalance, NativeTransaction, Network, NetworkToken, NetworkTokenDetails, NftCollection, NftCollectionWithMetrics, NftFilterOptionsProperty, NftSearchBody, NftSearchResultTypeOption, NftTokenMetadataStatus, OpenAPI, OpenAPIConfig, OpenListingEventResponse, OperationStatus, OperationStatusCode, OperationStatusResponse, OperationTransactionExportMetadata, OperationType, OperationsService, PChainAsset, PChainBalance, PChainConsumedUtxo, PChainEmittedUtxo, PChainId, PChainTransaction, PChainUtxo, PaginationParams, PrimaryNetworkOptions, PrimaryNetworkService, ProposerDetails, PurchaseListingEventResponse, ResourceLink, ResourceLinkType, RichAddress, SortOrder, TokenWithPrice, TransactionDetails, TransactionMethodType, TransactionStatus, TransactionVertexDetail, TrendingTimeframe, UtilityAddresses, Utxo, UtxoCredential, VmName, XChainAssetBalance, XChainAssetDetails, XChainBalances, XChainId, XChainLinearTransaction, XChainNonLinearTransaction, XChainSharedAssetBalance, XChainVertex };
|
package/dist/index.js
CHANGED
|
@@ -1118,17 +1118,13 @@ class PrimaryNetworkService {
|
|
|
1118
1118
|
});
|
|
1119
1119
|
}
|
|
1120
1120
|
getAssetDetails({
|
|
1121
|
-
assetId
|
|
1122
|
-
blockchainId,
|
|
1123
|
-
network
|
|
1121
|
+
assetId
|
|
1124
1122
|
}) {
|
|
1125
1123
|
return this.httpRequest.request({
|
|
1126
1124
|
method: "GET",
|
|
1127
1125
|
url: "/v1/networks/{network}/blockchains/{blockchainId}/assets/{assetId}",
|
|
1128
1126
|
path: {
|
|
1129
|
-
"assetId": assetId
|
|
1130
|
-
"blockchainId": blockchainId,
|
|
1131
|
-
"network": network
|
|
1127
|
+
"assetId": assetId
|
|
1132
1128
|
}
|
|
1133
1129
|
});
|
|
1134
1130
|
}
|
|
@@ -1397,6 +1393,28 @@ var PChainId = /* @__PURE__ */ ((PChainId2) => {
|
|
|
1397
1393
|
return PChainId2;
|
|
1398
1394
|
})(PChainId || {});
|
|
1399
1395
|
|
|
1396
|
+
var ResourceLinkType = /* @__PURE__ */ ((ResourceLinkType2) => {
|
|
1397
|
+
ResourceLinkType2["BLOG"] = "Blog";
|
|
1398
|
+
ResourceLinkType2["COIN_GECKO"] = "CoinGecko";
|
|
1399
|
+
ResourceLinkType2["COIN_MARKET_CAP"] = "CoinMarketCap";
|
|
1400
|
+
ResourceLinkType2["DISCORD"] = "Discord";
|
|
1401
|
+
ResourceLinkType2["DOCUMENTATION"] = "Documentation";
|
|
1402
|
+
ResourceLinkType2["FACEBOOK"] = "Facebook";
|
|
1403
|
+
ResourceLinkType2["GITHUB"] = "Github";
|
|
1404
|
+
ResourceLinkType2["INSTAGRAM"] = "Instagram";
|
|
1405
|
+
ResourceLinkType2["LINKED_IN"] = "LinkedIn";
|
|
1406
|
+
ResourceLinkType2["MEDIUM"] = "Medium";
|
|
1407
|
+
ResourceLinkType2["REDDIT"] = "Reddit";
|
|
1408
|
+
ResourceLinkType2["SUPPORT"] = "Support";
|
|
1409
|
+
ResourceLinkType2["TELEGRAM"] = "Telegram";
|
|
1410
|
+
ResourceLinkType2["TIK_TOK"] = "TikTok";
|
|
1411
|
+
ResourceLinkType2["TWITTER"] = "Twitter";
|
|
1412
|
+
ResourceLinkType2["WEBSITE"] = "Website";
|
|
1413
|
+
ResourceLinkType2["WHITEPAPER"] = "Whitepaper";
|
|
1414
|
+
ResourceLinkType2["YOUTUBE"] = "Youtube";
|
|
1415
|
+
return ResourceLinkType2;
|
|
1416
|
+
})(ResourceLinkType || {});
|
|
1417
|
+
|
|
1400
1418
|
var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
|
|
1401
1419
|
SortOrder2["ASC"] = "asc";
|
|
1402
1420
|
SortOrder2["DESC"] = "desc";
|
|
@@ -1479,6 +1497,7 @@ exports.OperationType = OperationType;
|
|
|
1479
1497
|
exports.OperationsService = OperationsService;
|
|
1480
1498
|
exports.PChainId = PChainId;
|
|
1481
1499
|
exports.PrimaryNetworkService = PrimaryNetworkService;
|
|
1500
|
+
exports.ResourceLinkType = ResourceLinkType;
|
|
1482
1501
|
exports.SortOrder = SortOrder;
|
|
1483
1502
|
exports.TransactionMethodType = TransactionMethodType;
|
|
1484
1503
|
exports.TransactionStatus = TransactionStatus;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { CChainExportTransaction } from './CChainExportTransaction.js';
|
|
2
|
+
import { CChainImportTransaction } from './CChainImportTransaction.js';
|
|
2
3
|
|
|
3
|
-
type
|
|
4
|
+
type ListCChainAtomicTransactionsResponse = {
|
|
4
5
|
/**
|
|
5
6
|
* 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.
|
|
6
7
|
*/
|
|
7
8
|
nextPageToken?: string;
|
|
8
|
-
transactions: Array<CChainExportTransaction>;
|
|
9
|
+
transactions: Array<(CChainExportTransaction | CChainImportTransaction)>;
|
|
9
10
|
};
|
|
10
11
|
|
|
11
|
-
export {
|
|
12
|
+
export { ListCChainAtomicTransactionsResponse };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ErcType } from './ErcType.js';
|
|
2
|
+
import { ResourceLink } from './ResourceLink.js';
|
|
2
3
|
|
|
3
4
|
type NftCollection = {
|
|
4
5
|
/**
|
|
@@ -17,6 +18,7 @@ type NftCollection = {
|
|
|
17
18
|
bannerUri?: string;
|
|
18
19
|
logoUri?: string;
|
|
19
20
|
description?: string;
|
|
21
|
+
resourceLinks?: Array<ResourceLink>;
|
|
20
22
|
};
|
|
21
23
|
|
|
22
24
|
export { NftCollection };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { CollectionMetrics } from './CollectionMetrics.js';
|
|
2
2
|
import { ErcType } from './ErcType.js';
|
|
3
|
+
import { ResourceLink } from './ResourceLink.js';
|
|
3
4
|
|
|
4
5
|
type NftCollectionWithMetrics = {
|
|
5
6
|
/**
|
|
@@ -18,6 +19,7 @@ type NftCollectionWithMetrics = {
|
|
|
18
19
|
bannerUri?: string;
|
|
19
20
|
logoUri?: string;
|
|
20
21
|
description?: string;
|
|
22
|
+
resourceLinks?: Array<ResourceLink>;
|
|
21
23
|
metrics: CollectionMetrics;
|
|
22
24
|
};
|
|
23
25
|
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
declare enum ResourceLinkType {
|
|
2
|
+
BLOG = "Blog",
|
|
3
|
+
COIN_GECKO = "CoinGecko",
|
|
4
|
+
COIN_MARKET_CAP = "CoinMarketCap",
|
|
5
|
+
DISCORD = "Discord",
|
|
6
|
+
DOCUMENTATION = "Documentation",
|
|
7
|
+
FACEBOOK = "Facebook",
|
|
8
|
+
GITHUB = "Github",
|
|
9
|
+
INSTAGRAM = "Instagram",
|
|
10
|
+
LINKED_IN = "LinkedIn",
|
|
11
|
+
MEDIUM = "Medium",
|
|
12
|
+
REDDIT = "Reddit",
|
|
13
|
+
SUPPORT = "Support",
|
|
14
|
+
TELEGRAM = "Telegram",
|
|
15
|
+
TIK_TOK = "TikTok",
|
|
16
|
+
TWITTER = "Twitter",
|
|
17
|
+
WEBSITE = "Website",
|
|
18
|
+
WHITEPAPER = "Whitepaper",
|
|
19
|
+
YOUTUBE = "Youtube"
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export { ResourceLinkType };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
var ResourceLinkType = /* @__PURE__ */ ((ResourceLinkType2) => {
|
|
2
|
+
ResourceLinkType2["BLOG"] = "Blog";
|
|
3
|
+
ResourceLinkType2["COIN_GECKO"] = "CoinGecko";
|
|
4
|
+
ResourceLinkType2["COIN_MARKET_CAP"] = "CoinMarketCap";
|
|
5
|
+
ResourceLinkType2["DISCORD"] = "Discord";
|
|
6
|
+
ResourceLinkType2["DOCUMENTATION"] = "Documentation";
|
|
7
|
+
ResourceLinkType2["FACEBOOK"] = "Facebook";
|
|
8
|
+
ResourceLinkType2["GITHUB"] = "Github";
|
|
9
|
+
ResourceLinkType2["INSTAGRAM"] = "Instagram";
|
|
10
|
+
ResourceLinkType2["LINKED_IN"] = "LinkedIn";
|
|
11
|
+
ResourceLinkType2["MEDIUM"] = "Medium";
|
|
12
|
+
ResourceLinkType2["REDDIT"] = "Reddit";
|
|
13
|
+
ResourceLinkType2["SUPPORT"] = "Support";
|
|
14
|
+
ResourceLinkType2["TELEGRAM"] = "Telegram";
|
|
15
|
+
ResourceLinkType2["TIK_TOK"] = "TikTok";
|
|
16
|
+
ResourceLinkType2["TWITTER"] = "Twitter";
|
|
17
|
+
ResourceLinkType2["WEBSITE"] = "Website";
|
|
18
|
+
ResourceLinkType2["WHITEPAPER"] = "Whitepaper";
|
|
19
|
+
ResourceLinkType2["YOUTUBE"] = "Youtube";
|
|
20
|
+
return ResourceLinkType2;
|
|
21
|
+
})(ResourceLinkType || {});
|
|
22
|
+
|
|
23
|
+
export { ResourceLinkType };
|
|
@@ -5,8 +5,7 @@ import { CChainImportTransaction } from '../models/CChainImportTransaction.js';
|
|
|
5
5
|
import { ChainAddressChainIdMapListResponse } from '../models/ChainAddressChainIdMapListResponse.js';
|
|
6
6
|
import { ListBlocksResponse } from '../models/ListBlocksResponse.js';
|
|
7
7
|
import { ListCChainAtomicBalancesResponse } from '../models/ListCChainAtomicBalancesResponse.js';
|
|
8
|
-
import {
|
|
9
|
-
import { ListCChainImportTxsResponse } from '../models/ListCChainImportTxsResponse.js';
|
|
8
|
+
import { ListCChainAtomicTransactionsResponse } from '../models/ListCChainAtomicTransactionsResponse.js';
|
|
10
9
|
import { ListPChainBalancesResponse } from '../models/ListPChainBalancesResponse.js';
|
|
11
10
|
import { ListPChainTransactionsResponse } from '../models/ListPChainTransactionsResponse.js';
|
|
12
11
|
import { ListPChainUtxosResponse } from '../models/ListPChainUtxosResponse.js';
|
|
@@ -81,7 +80,7 @@ declare class PrimaryNetworkService {
|
|
|
81
80
|
* query parameter, if provided.
|
|
82
81
|
*/
|
|
83
82
|
sortOrder?: SortOrder;
|
|
84
|
-
}): CancelablePromise<(ListPChainTransactionsResponse | ListXChainTransactionsResponse |
|
|
83
|
+
}): CancelablePromise<(ListPChainTransactionsResponse | ListXChainTransactionsResponse | ListCChainAtomicTransactionsResponse)>;
|
|
85
84
|
/**
|
|
86
85
|
* Returns active staking transactions for supplied addresses.
|
|
87
86
|
* @returns ListPChainTransactionsResponse
|
|
@@ -326,19 +325,11 @@ declare class PrimaryNetworkService {
|
|
|
326
325
|
* @returns XChainAssetDetails
|
|
327
326
|
* @throws ApiError
|
|
328
327
|
*/
|
|
329
|
-
getAssetDetails({ assetId,
|
|
328
|
+
getAssetDetails({ assetId, }: {
|
|
330
329
|
/**
|
|
331
330
|
* Asset ID for any asset on X-Chain
|
|
332
331
|
*/
|
|
333
332
|
assetId: string;
|
|
334
|
-
/**
|
|
335
|
-
* A supported chain name. BlockchainId values will be deprecated in a future release. Please use chain names like p-chain, x-chain or c-chain instead!
|
|
336
|
-
*/
|
|
337
|
-
blockchainId: BlockchainId;
|
|
338
|
-
/**
|
|
339
|
-
* Either mainnet or a testnet.
|
|
340
|
-
*/
|
|
341
|
-
network: Network;
|
|
342
333
|
}): CancelablePromise<XChainAssetDetails>;
|
|
343
334
|
/**
|
|
344
335
|
* Returns asset transactions corresponding to the asset id on X-Chain.
|
|
@@ -218,17 +218,13 @@ class PrimaryNetworkService {
|
|
|
218
218
|
});
|
|
219
219
|
}
|
|
220
220
|
getAssetDetails({
|
|
221
|
-
assetId
|
|
222
|
-
blockchainId,
|
|
223
|
-
network
|
|
221
|
+
assetId
|
|
224
222
|
}) {
|
|
225
223
|
return this.httpRequest.request({
|
|
226
224
|
method: "GET",
|
|
227
225
|
url: "/v1/networks/{network}/blockchains/{blockchainId}/assets/{assetId}",
|
|
228
226
|
path: {
|
|
229
|
-
"assetId": assetId
|
|
230
|
-
"blockchainId": blockchainId,
|
|
231
|
-
"network": network
|
|
227
|
+
"assetId": assetId
|
|
232
228
|
}
|
|
233
229
|
});
|
|
234
230
|
}
|
package/esm/index.d.ts
CHANGED
|
@@ -49,8 +49,7 @@ export { InternalTransactionDetails } from './generated/models/InternalTransacti
|
|
|
49
49
|
export { InternalTransactionOpCall } from './generated/models/InternalTransactionOpCall.js';
|
|
50
50
|
export { ListBlocksResponse } from './generated/models/ListBlocksResponse.js';
|
|
51
51
|
export { ListCChainAtomicBalancesResponse } from './generated/models/ListCChainAtomicBalancesResponse.js';
|
|
52
|
-
export {
|
|
53
|
-
export { ListCChainImportTxsResponse } from './generated/models/ListCChainImportTxsResponse.js';
|
|
52
|
+
export { ListCChainAtomicTransactionsResponse } from './generated/models/ListCChainAtomicTransactionsResponse.js';
|
|
54
53
|
export { ListChainsResponse } from './generated/models/ListChainsResponse.js';
|
|
55
54
|
export { ListCollectibleBalancesResponse } from './generated/models/ListCollectibleBalancesResponse.js';
|
|
56
55
|
export { ListErc1155BalancesResponse } from './generated/models/ListErc1155BalancesResponse.js';
|
|
@@ -107,6 +106,8 @@ export { PChainUtxo } from './generated/models/PChainUtxo.js';
|
|
|
107
106
|
export { PrimaryNetworkOptions } from './generated/models/PrimaryNetworkOptions.js';
|
|
108
107
|
export { ProposerDetails } from './generated/models/ProposerDetails.js';
|
|
109
108
|
export { PurchaseListingEventResponse } from './generated/models/PurchaseListingEventResponse.js';
|
|
109
|
+
export { ResourceLink } from './generated/models/ResourceLink.js';
|
|
110
|
+
export { ResourceLinkType } from './generated/models/ResourceLinkType.js';
|
|
110
111
|
export { RichAddress } from './generated/models/RichAddress.js';
|
|
111
112
|
export { SortOrder } from './generated/models/SortOrder.js';
|
|
112
113
|
export { TokenWithPrice } from './generated/models/TokenWithPrice.js';
|
package/esm/index.js
CHANGED
|
@@ -28,6 +28,7 @@ export { OperationStatus } from './generated/models/OperationStatus.js';
|
|
|
28
28
|
export { OperationStatusCode } from './generated/models/OperationStatusCode.js';
|
|
29
29
|
export { OperationType } from './generated/models/OperationType.js';
|
|
30
30
|
export { PChainId } from './generated/models/PChainId.js';
|
|
31
|
+
export { ResourceLinkType } from './generated/models/ResourceLinkType.js';
|
|
31
32
|
export { SortOrder } from './generated/models/SortOrder.js';
|
|
32
33
|
export { TransactionMethodType } from './generated/models/TransactionMethodType.js';
|
|
33
34
|
export { TransactionStatus } from './generated/models/TransactionStatus.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@avalabs/glacier-sdk",
|
|
3
|
-
"version": "2.8.0-alpha.
|
|
3
|
+
"version": "2.8.0-alpha.96",
|
|
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",
|
|
@@ -32,5 +32,5 @@
|
|
|
32
32
|
"bugs": {
|
|
33
33
|
"url": "https://github.com/ava-labs/avalanche-sdks/issues"
|
|
34
34
|
},
|
|
35
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "78f21b702b0b5b6051a0907f21bf11377a19e3dd"
|
|
36
36
|
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { CChainImportTransaction } from './CChainImportTransaction.js';
|
|
2
|
-
|
|
3
|
-
type ListCChainImportTxsResponse = {
|
|
4
|
-
/**
|
|
5
|
-
* 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.
|
|
6
|
-
*/
|
|
7
|
-
nextPageToken?: string;
|
|
8
|
-
transactions: Array<CChainImportTransaction>;
|
|
9
|
-
};
|
|
10
|
-
|
|
11
|
-
export { ListCChainImportTxsResponse };
|