@avalabs/glacier-sdk 2.8.0-alpha.82 → 2.8.0-alpha.84
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 +66 -6
- package/dist/index.js +30 -0
- package/esm/generated/models/ChainInfo.d.ts +8 -0
- package/esm/generated/models/ChainStatus.d.ts +6 -0
- package/esm/generated/models/ChainStatus.js +7 -0
- package/esm/generated/models/GetChainResponse.d.ts +8 -0
- package/esm/generated/models/OperationStatus.d.ts +8 -0
- package/esm/generated/models/OperationStatus.js +9 -0
- package/esm/generated/models/OperationStatusCode.d.ts +7 -0
- package/esm/generated/models/OperationStatusCode.js +8 -0
- package/esm/generated/models/OperationStatusResponse.d.ts +6 -5
- package/esm/generated/models/OperationTransactionExportMetadata.d.ts +18 -0
- package/esm/generated/models/OperationType.d.ts +5 -0
- package/esm/generated/models/OperationType.js +6 -0
- package/esm/generated/models/PChainConsumedUtxo.d.ts +2 -0
- package/esm/generated/models/PChainEmittedUtxo.d.ts +6 -0
- package/esm/generated/models/PChainTransaction.d.ts +2 -0
- package/esm/generated/models/PChainUtxo.d.ts +2 -0
- package/esm/index.d.ts +5 -1
- package/esm/index.js +4 -0
- package/package.json +3 -3
- package/esm/generated/models/OperationMetadata.d.ts +0 -3
package/dist/index.d.ts
CHANGED
|
@@ -219,6 +219,11 @@ type GetBlockResponse = {
|
|
|
219
219
|
cumulativeTransactions: string;
|
|
220
220
|
};
|
|
221
221
|
|
|
222
|
+
declare enum ChainStatus {
|
|
223
|
+
OK = "OK",
|
|
224
|
+
UNAVAILABLE = "UNAVAILABLE"
|
|
225
|
+
}
|
|
226
|
+
|
|
222
227
|
type NetworkToken = {
|
|
223
228
|
/**
|
|
224
229
|
* The contract name.
|
|
@@ -253,6 +258,13 @@ declare enum VmName {
|
|
|
253
258
|
|
|
254
259
|
type GetChainResponse = {
|
|
255
260
|
chainId: string;
|
|
261
|
+
/**
|
|
262
|
+
* Status of chain nodes. Chain nodes can become temporarily
|
|
263
|
+
* `UNAVAILABLE` for several reasons, such as validator stake falling
|
|
264
|
+
* below threshold. If chain nodes are `UNAVAILABLE`, requests that rely
|
|
265
|
+
* on data from the chain nodes may return 503 errors.
|
|
266
|
+
*/
|
|
267
|
+
status: ChainStatus;
|
|
256
268
|
chainName: string;
|
|
257
269
|
description: string;
|
|
258
270
|
platformChainId?: string;
|
|
@@ -675,6 +687,13 @@ type ListBlocksResponse = {
|
|
|
675
687
|
|
|
676
688
|
type ChainInfo = {
|
|
677
689
|
chainId: string;
|
|
690
|
+
/**
|
|
691
|
+
* Status of chain nodes. Chain nodes can become temporarily
|
|
692
|
+
* `UNAVAILABLE` for several reasons, such as validator stake falling
|
|
693
|
+
* below threshold. If chain nodes are `UNAVAILABLE`, requests that rely
|
|
694
|
+
* on data from the chain nodes may return 503 errors.
|
|
695
|
+
*/
|
|
696
|
+
status: ChainStatus;
|
|
678
697
|
chainName: string;
|
|
679
698
|
description: string;
|
|
680
699
|
platformChainId?: string;
|
|
@@ -2048,15 +2067,44 @@ type CreateTransactionExportRequest = {
|
|
|
2048
2067
|
evmNetwork?: EvmNetworkOptions;
|
|
2049
2068
|
};
|
|
2050
2069
|
|
|
2051
|
-
|
|
2070
|
+
declare enum OperationStatus {
|
|
2071
|
+
RUNNING = "RUNNING",
|
|
2072
|
+
COMPLETED = "COMPLETED",
|
|
2073
|
+
COMPLETED_WITH_WARNING = "COMPLETED_WITH_WARNING",
|
|
2074
|
+
FAILED = "FAILED"
|
|
2075
|
+
}
|
|
2076
|
+
|
|
2077
|
+
declare enum OperationStatusCode {
|
|
2078
|
+
ERR_INVALID_REQUEST = "ErrInvalidRequest",
|
|
2079
|
+
ERR_INTERNAL = "ErrInternal",
|
|
2080
|
+
WARN_TRUNCATED_EXPORT = "WarnTruncatedExport"
|
|
2081
|
+
}
|
|
2082
|
+
|
|
2083
|
+
type OperationTransactionExportMetadata = {
|
|
2084
|
+
code: OperationStatusCode;
|
|
2085
|
+
/**
|
|
2086
|
+
* File download URL. Provided only for COMPLETED operations.
|
|
2087
|
+
*/
|
|
2088
|
+
downloadUrl?: string;
|
|
2089
|
+
/**
|
|
2090
|
+
* The next date to use as the startDate in follow up requests
|
|
2091
|
+
* if a request results in a transaction history exceeding the max size and
|
|
2092
|
+
* has been reported as COMPLETED_WITH_WARNING with the warning
|
|
2093
|
+
* WarnTruncatedExport.
|
|
2094
|
+
*/
|
|
2095
|
+
nextDate?: string;
|
|
2096
|
+
};
|
|
2097
|
+
|
|
2098
|
+
declare enum OperationType {
|
|
2099
|
+
TRANSACTION_EXPORT = "TRANSACTION_EXPORT"
|
|
2100
|
+
}
|
|
2052
2101
|
|
|
2053
2102
|
type OperationStatusResponse = {
|
|
2054
2103
|
operationId: string;
|
|
2055
|
-
operationType:
|
|
2056
|
-
operationStatus:
|
|
2057
|
-
downloadUrl?: string;
|
|
2104
|
+
operationType: OperationType;
|
|
2105
|
+
operationStatus: OperationStatus;
|
|
2058
2106
|
message?: string;
|
|
2059
|
-
metadata
|
|
2107
|
+
metadata: OperationTransactionExportMetadata;
|
|
2060
2108
|
createdAtTimestamp: number;
|
|
2061
2109
|
updatedAtTimestamp: number;
|
|
2062
2110
|
};
|
|
@@ -2425,6 +2473,8 @@ type PChainConsumedUtxo = {
|
|
|
2425
2473
|
amount: string;
|
|
2426
2474
|
assetId: string;
|
|
2427
2475
|
utxoId: string;
|
|
2476
|
+
createdOnChainId: string;
|
|
2477
|
+
consumedOnChainId: string;
|
|
2428
2478
|
fromTx: string;
|
|
2429
2479
|
};
|
|
2430
2480
|
|
|
@@ -2433,11 +2483,17 @@ type PChainEmittedUtxo = {
|
|
|
2433
2483
|
amount: string;
|
|
2434
2484
|
assetId: string;
|
|
2435
2485
|
utxoId: string;
|
|
2486
|
+
createdOnChainId: string;
|
|
2487
|
+
consumedOnChainId: string;
|
|
2436
2488
|
staked: boolean;
|
|
2437
2489
|
/**
|
|
2438
2490
|
* This field is only present if the UTXO has been consumed by another transaction.
|
|
2439
2491
|
*/
|
|
2440
2492
|
toTx?: string;
|
|
2493
|
+
/**
|
|
2494
|
+
* This field is only present if the UTXO is a transaction reward and denotes whether the reward is for the validator or delegator.
|
|
2495
|
+
*/
|
|
2496
|
+
rewardType?: string;
|
|
2441
2497
|
};
|
|
2442
2498
|
|
|
2443
2499
|
type PChainTransaction = {
|
|
@@ -2478,6 +2534,8 @@ type PChainTransaction = {
|
|
|
2478
2534
|
nodeId?: string;
|
|
2479
2535
|
subnetId?: string;
|
|
2480
2536
|
estimatedReward?: string;
|
|
2537
|
+
rewardTx?: string;
|
|
2538
|
+
memo?: string;
|
|
2481
2539
|
};
|
|
2482
2540
|
|
|
2483
2541
|
type ListPChainTransactionsResponse = {
|
|
@@ -2505,6 +2563,8 @@ type PChainUtxo = {
|
|
|
2505
2563
|
stakeableLocktime?: number;
|
|
2506
2564
|
platformLocktime?: number;
|
|
2507
2565
|
threshold?: number;
|
|
2566
|
+
createdOnChainId: string;
|
|
2567
|
+
consumedOnChainId: string;
|
|
2508
2568
|
};
|
|
2509
2569
|
|
|
2510
2570
|
type ListPChainUtxosResponse = {
|
|
@@ -3088,4 +3148,4 @@ declare class ApiError extends Error {
|
|
|
3088
3148
|
constructor(request: ApiRequestOptions, response: ApiResult, message: string);
|
|
3089
3149
|
}
|
|
3090
3150
|
|
|
3091
|
-
export { Address, ApiError, Asset, AssetType, BaseHttpRequest, Block, BlockchainId, CChainAtomicBalances, CChainExportTransaction, CChainImportTransaction, CChainSharedAssetBalance, CPBlockchainId, CancelError, CancelListingEventResponse, CancelablePromise, ChainAddressChainIdMap, ChainAddressChainIdMapListResponse, ChainInfo, CloseAuctionEventResponse, CollectionMetrics, CollectionSortByOption, ContractType, CreateTransactionExportRequest, CurrencyCode, EVMInput, EVMOutput, Erc1155Token, Erc1155TokenBalance, Erc1155TokenMetadata, Erc1155Transfer, Erc1155TransferDetails, Erc20Token, Erc20TokenBalance, Erc20Transfer, Erc20TransferDetails, Erc721Token, Erc721TokenBalance, Erc721TokenMetadata, Erc721Transfer, Erc721TransferDetails, ErcType, EvmNetworkOptions, EvmService, FullNativeTransactionDetails, GetBlockResponse, GetChainResponse, GetContractInformationResponse, GetNativeBalanceResponse, GetTransactionResponse, Glacier, HealthCheckService, InternalTransaction, InternalTransactionDetails, InternalTransactionOpCall, ListBlocksResponse, ListCChainAtomicBalancesResponse, ListCChainExportTxsResponse, ListCChainImportTxsResponse, 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,
|
|
3151
|
+
export { Address, ApiError, Asset, AssetType, BaseHttpRequest, Block, BlockchainId, CChainAtomicBalances, CChainExportTransaction, CChainImportTransaction, CChainSharedAssetBalance, CPBlockchainId, CancelError, CancelListingEventResponse, CancelablePromise, ChainAddressChainIdMap, ChainAddressChainIdMapListResponse, ChainInfo, ChainStatus, CloseAuctionEventResponse, CollectionMetrics, CollectionSortByOption, ContractType, CreateTransactionExportRequest, CurrencyCode, EVMInput, EVMOutput, Erc1155Token, Erc1155TokenBalance, Erc1155TokenMetadata, Erc1155Transfer, Erc1155TransferDetails, Erc20Token, Erc20TokenBalance, Erc20Transfer, Erc20TransferDetails, Erc721Token, Erc721TokenBalance, Erc721TokenMetadata, Erc721Transfer, Erc721TransferDetails, ErcType, EvmNetworkOptions, EvmService, FullNativeTransactionDetails, GetBlockResponse, GetChainResponse, GetContractInformationResponse, GetNativeBalanceResponse, GetTransactionResponse, Glacier, HealthCheckService, InternalTransaction, InternalTransactionDetails, InternalTransactionOpCall, ListBlocksResponse, ListCChainAtomicBalancesResponse, ListCChainExportTxsResponse, ListCChainImportTxsResponse, 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, ReviewStatus, RichAddress, SortOrder, TokenWithPrice, TransactionDetails, TransactionMethodType, TransactionStatus, TransactionVertexDetail, TrendingTimeframe, UtilityAddresses, Utxo, UtxoCredential, VmName, XChainAssetBalance, XChainAssetDetails, XChainBalances, XChainId, XChainSharedAssetBalance, XChainTransaction, XChainVertex };
|
package/dist/index.js
CHANGED
|
@@ -1226,6 +1226,12 @@ exports.CChainImportTransaction = void 0;
|
|
|
1226
1226
|
})(CChainImportTransaction2.txType || (CChainImportTransaction2.txType = {}));
|
|
1227
1227
|
})(exports.CChainImportTransaction || (exports.CChainImportTransaction = {}));
|
|
1228
1228
|
|
|
1229
|
+
var ChainStatus = /* @__PURE__ */ ((ChainStatus2) => {
|
|
1230
|
+
ChainStatus2["OK"] = "OK";
|
|
1231
|
+
ChainStatus2["UNAVAILABLE"] = "UNAVAILABLE";
|
|
1232
|
+
return ChainStatus2;
|
|
1233
|
+
})(ChainStatus || {});
|
|
1234
|
+
|
|
1229
1235
|
var CollectionSortByOption = /* @__PURE__ */ ((CollectionSortByOption2) => {
|
|
1230
1236
|
CollectionSortByOption2["SALE_TIMESTAMP"] = "saleTimestamp";
|
|
1231
1237
|
CollectionSortByOption2["VOLUME"] = "volume";
|
|
@@ -1379,6 +1385,26 @@ var NftTokenMetadataStatus = /* @__PURE__ */ ((NftTokenMetadataStatus2) => {
|
|
|
1379
1385
|
return NftTokenMetadataStatus2;
|
|
1380
1386
|
})(NftTokenMetadataStatus || {});
|
|
1381
1387
|
|
|
1388
|
+
var OperationStatus = /* @__PURE__ */ ((OperationStatus2) => {
|
|
1389
|
+
OperationStatus2["RUNNING"] = "RUNNING";
|
|
1390
|
+
OperationStatus2["COMPLETED"] = "COMPLETED";
|
|
1391
|
+
OperationStatus2["COMPLETED_WITH_WARNING"] = "COMPLETED_WITH_WARNING";
|
|
1392
|
+
OperationStatus2["FAILED"] = "FAILED";
|
|
1393
|
+
return OperationStatus2;
|
|
1394
|
+
})(OperationStatus || {});
|
|
1395
|
+
|
|
1396
|
+
var OperationStatusCode = /* @__PURE__ */ ((OperationStatusCode2) => {
|
|
1397
|
+
OperationStatusCode2["ERR_INVALID_REQUEST"] = "ErrInvalidRequest";
|
|
1398
|
+
OperationStatusCode2["ERR_INTERNAL"] = "ErrInternal";
|
|
1399
|
+
OperationStatusCode2["WARN_TRUNCATED_EXPORT"] = "WarnTruncatedExport";
|
|
1400
|
+
return OperationStatusCode2;
|
|
1401
|
+
})(OperationStatusCode || {});
|
|
1402
|
+
|
|
1403
|
+
var OperationType = /* @__PURE__ */ ((OperationType2) => {
|
|
1404
|
+
OperationType2["TRANSACTION_EXPORT"] = "TRANSACTION_EXPORT";
|
|
1405
|
+
return OperationType2;
|
|
1406
|
+
})(OperationType || {});
|
|
1407
|
+
|
|
1382
1408
|
var PChainId = /* @__PURE__ */ ((PChainId2) => {
|
|
1383
1409
|
PChainId2["P_CHAIN"] = "p-chain";
|
|
1384
1410
|
PChainId2["_11111111111111111111111111111111LPO_YY"] = "11111111111111111111111111111111LpoYY";
|
|
@@ -1455,6 +1481,7 @@ exports.BlockchainId = BlockchainId;
|
|
|
1455
1481
|
exports.CPBlockchainId = CPBlockchainId;
|
|
1456
1482
|
exports.CancelError = CancelError;
|
|
1457
1483
|
exports.CancelablePromise = CancelablePromise;
|
|
1484
|
+
exports.ChainStatus = ChainStatus;
|
|
1458
1485
|
exports.CollectionSortByOption = CollectionSortByOption;
|
|
1459
1486
|
exports.ContractType = ContractType;
|
|
1460
1487
|
exports.CurrencyCode = CurrencyCode;
|
|
@@ -1471,6 +1498,9 @@ exports.Network = Network;
|
|
|
1471
1498
|
exports.NftSearchResultTypeOption = NftSearchResultTypeOption;
|
|
1472
1499
|
exports.NftTokenMetadataStatus = NftTokenMetadataStatus;
|
|
1473
1500
|
exports.OpenAPI = OpenAPI;
|
|
1501
|
+
exports.OperationStatus = OperationStatus;
|
|
1502
|
+
exports.OperationStatusCode = OperationStatusCode;
|
|
1503
|
+
exports.OperationType = OperationType;
|
|
1474
1504
|
exports.OperationsService = OperationsService;
|
|
1475
1505
|
exports.PChainId = PChainId;
|
|
1476
1506
|
exports.PrimaryNetworkService = PrimaryNetworkService;
|
|
@@ -1,9 +1,17 @@
|
|
|
1
|
+
import { ChainStatus } from './ChainStatus.js';
|
|
1
2
|
import { NetworkToken } from './NetworkToken.js';
|
|
2
3
|
import { UtilityAddresses } from './UtilityAddresses.js';
|
|
3
4
|
import { VmName } from './VmName.js';
|
|
4
5
|
|
|
5
6
|
type ChainInfo = {
|
|
6
7
|
chainId: string;
|
|
8
|
+
/**
|
|
9
|
+
* Status of chain nodes. Chain nodes can become temporarily
|
|
10
|
+
* `UNAVAILABLE` for several reasons, such as validator stake falling
|
|
11
|
+
* below threshold. If chain nodes are `UNAVAILABLE`, requests that rely
|
|
12
|
+
* on data from the chain nodes may return 503 errors.
|
|
13
|
+
*/
|
|
14
|
+
status: ChainStatus;
|
|
7
15
|
chainName: string;
|
|
8
16
|
description: string;
|
|
9
17
|
platformChainId?: string;
|
|
@@ -1,9 +1,17 @@
|
|
|
1
|
+
import { ChainStatus } from './ChainStatus.js';
|
|
1
2
|
import { NetworkToken } from './NetworkToken.js';
|
|
2
3
|
import { UtilityAddresses } from './UtilityAddresses.js';
|
|
3
4
|
import { VmName } from './VmName.js';
|
|
4
5
|
|
|
5
6
|
type GetChainResponse = {
|
|
6
7
|
chainId: string;
|
|
8
|
+
/**
|
|
9
|
+
* Status of chain nodes. Chain nodes can become temporarily
|
|
10
|
+
* `UNAVAILABLE` for several reasons, such as validator stake falling
|
|
11
|
+
* below threshold. If chain nodes are `UNAVAILABLE`, requests that rely
|
|
12
|
+
* on data from the chain nodes may return 503 errors.
|
|
13
|
+
*/
|
|
14
|
+
status: ChainStatus;
|
|
7
15
|
chainName: string;
|
|
8
16
|
description: string;
|
|
9
17
|
platformChainId?: string;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
var OperationStatus = /* @__PURE__ */ ((OperationStatus2) => {
|
|
2
|
+
OperationStatus2["RUNNING"] = "RUNNING";
|
|
3
|
+
OperationStatus2["COMPLETED"] = "COMPLETED";
|
|
4
|
+
OperationStatus2["COMPLETED_WITH_WARNING"] = "COMPLETED_WITH_WARNING";
|
|
5
|
+
OperationStatus2["FAILED"] = "FAILED";
|
|
6
|
+
return OperationStatus2;
|
|
7
|
+
})(OperationStatus || {});
|
|
8
|
+
|
|
9
|
+
export { OperationStatus };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
var OperationStatusCode = /* @__PURE__ */ ((OperationStatusCode2) => {
|
|
2
|
+
OperationStatusCode2["ERR_INVALID_REQUEST"] = "ErrInvalidRequest";
|
|
3
|
+
OperationStatusCode2["ERR_INTERNAL"] = "ErrInternal";
|
|
4
|
+
OperationStatusCode2["WARN_TRUNCATED_EXPORT"] = "WarnTruncatedExport";
|
|
5
|
+
return OperationStatusCode2;
|
|
6
|
+
})(OperationStatusCode || {});
|
|
7
|
+
|
|
8
|
+
export { OperationStatusCode };
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OperationStatus } from './OperationStatus.js';
|
|
2
|
+
import { OperationTransactionExportMetadata } from './OperationTransactionExportMetadata.js';
|
|
3
|
+
import { OperationType } from './OperationType.js';
|
|
2
4
|
|
|
3
5
|
type OperationStatusResponse = {
|
|
4
6
|
operationId: string;
|
|
5
|
-
operationType:
|
|
6
|
-
operationStatus:
|
|
7
|
-
downloadUrl?: string;
|
|
7
|
+
operationType: OperationType;
|
|
8
|
+
operationStatus: OperationStatus;
|
|
8
9
|
message?: string;
|
|
9
|
-
metadata
|
|
10
|
+
metadata: OperationTransactionExportMetadata;
|
|
10
11
|
createdAtTimestamp: number;
|
|
11
12
|
updatedAtTimestamp: number;
|
|
12
13
|
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { OperationStatusCode } from './OperationStatusCode.js';
|
|
2
|
+
|
|
3
|
+
type OperationTransactionExportMetadata = {
|
|
4
|
+
code: OperationStatusCode;
|
|
5
|
+
/**
|
|
6
|
+
* File download URL. Provided only for COMPLETED operations.
|
|
7
|
+
*/
|
|
8
|
+
downloadUrl?: string;
|
|
9
|
+
/**
|
|
10
|
+
* The next date to use as the startDate in follow up requests
|
|
11
|
+
* if a request results in a transaction history exceeding the max size and
|
|
12
|
+
* has been reported as COMPLETED_WITH_WARNING with the warning
|
|
13
|
+
* WarnTruncatedExport.
|
|
14
|
+
*/
|
|
15
|
+
nextDate?: string;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
export { OperationTransactionExportMetadata };
|
|
@@ -3,11 +3,17 @@ type PChainEmittedUtxo = {
|
|
|
3
3
|
amount: string;
|
|
4
4
|
assetId: string;
|
|
5
5
|
utxoId: string;
|
|
6
|
+
createdOnChainId: string;
|
|
7
|
+
consumedOnChainId: string;
|
|
6
8
|
staked: boolean;
|
|
7
9
|
/**
|
|
8
10
|
* This field is only present if the UTXO has been consumed by another transaction.
|
|
9
11
|
*/
|
|
10
12
|
toTx?: string;
|
|
13
|
+
/**
|
|
14
|
+
* This field is only present if the UTXO is a transaction reward and denotes whether the reward is for the validator or delegator.
|
|
15
|
+
*/
|
|
16
|
+
rewardType?: string;
|
|
11
17
|
};
|
|
12
18
|
|
|
13
19
|
export { PChainEmittedUtxo };
|
package/esm/index.d.ts
CHANGED
|
@@ -16,6 +16,7 @@ export { CChainSharedAssetBalance } from './generated/models/CChainSharedAssetBa
|
|
|
16
16
|
export { ChainAddressChainIdMap } from './generated/models/ChainAddressChainIdMap.js';
|
|
17
17
|
export { ChainAddressChainIdMapListResponse } from './generated/models/ChainAddressChainIdMapListResponse.js';
|
|
18
18
|
export { ChainInfo } from './generated/models/ChainInfo.js';
|
|
19
|
+
export { ChainStatus } from './generated/models/ChainStatus.js';
|
|
19
20
|
export { CloseAuctionEventResponse } from './generated/models/CloseAuctionEventResponse.js';
|
|
20
21
|
export { CollectionMetrics } from './generated/models/CollectionMetrics.js';
|
|
21
22
|
export { CollectionSortByOption } from './generated/models/CollectionSortByOption.js';
|
|
@@ -94,8 +95,11 @@ export { NftSearchBody } from './generated/models/NftSearchBody.js';
|
|
|
94
95
|
export { NftSearchResultTypeOption } from './generated/models/NftSearchResultTypeOption.js';
|
|
95
96
|
export { NftTokenMetadataStatus } from './generated/models/NftTokenMetadataStatus.js';
|
|
96
97
|
export { OpenListingEventResponse } from './generated/models/OpenListingEventResponse.js';
|
|
97
|
-
export {
|
|
98
|
+
export { OperationStatus } from './generated/models/OperationStatus.js';
|
|
99
|
+
export { OperationStatusCode } from './generated/models/OperationStatusCode.js';
|
|
98
100
|
export { OperationStatusResponse } from './generated/models/OperationStatusResponse.js';
|
|
101
|
+
export { OperationTransactionExportMetadata } from './generated/models/OperationTransactionExportMetadata.js';
|
|
102
|
+
export { OperationType } from './generated/models/OperationType.js';
|
|
99
103
|
export { PaginationParams } from './generated/models/PaginationParams.js';
|
|
100
104
|
export { PChainAsset } from './generated/models/PChainAsset.js';
|
|
101
105
|
export { PChainBalance } from './generated/models/PChainBalance.js';
|
package/esm/index.js
CHANGED
|
@@ -7,6 +7,7 @@ export { AssetType } from './generated/models/AssetType.js';
|
|
|
7
7
|
export { BlockchainId } from './generated/models/BlockchainId.js';
|
|
8
8
|
export { CChainExportTransaction } from './generated/models/CChainExportTransaction.js';
|
|
9
9
|
export { CChainImportTransaction } from './generated/models/CChainImportTransaction.js';
|
|
10
|
+
export { ChainStatus } from './generated/models/ChainStatus.js';
|
|
10
11
|
export { CollectionSortByOption } from './generated/models/CollectionSortByOption.js';
|
|
11
12
|
export { ContractType } from './generated/models/ContractType.js';
|
|
12
13
|
export { CPBlockchainId } from './generated/models/CPBlockchainId.js';
|
|
@@ -26,6 +27,9 @@ export { ListingType } from './generated/models/ListingType.js';
|
|
|
26
27
|
export { Network } from './generated/models/Network.js';
|
|
27
28
|
export { NftSearchResultTypeOption } from './generated/models/NftSearchResultTypeOption.js';
|
|
28
29
|
export { NftTokenMetadataStatus } from './generated/models/NftTokenMetadataStatus.js';
|
|
30
|
+
export { OperationStatus } from './generated/models/OperationStatus.js';
|
|
31
|
+
export { OperationStatusCode } from './generated/models/OperationStatusCode.js';
|
|
32
|
+
export { OperationType } from './generated/models/OperationType.js';
|
|
29
33
|
export { PChainId } from './generated/models/PChainId.js';
|
|
30
34
|
export { ResourceLinkType } from './generated/models/ResourceLinkType.js';
|
|
31
35
|
export { ReviewStatus } from './generated/models/ReviewStatus.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.84",
|
|
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",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"url": "https://github.com/ava-labs/avalanche-sdks/issues"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@avalabs/utils-sdk": "2.8.0-alpha.
|
|
36
|
+
"@avalabs/utils-sdk": "2.8.0-alpha.84"
|
|
37
37
|
},
|
|
38
|
-
"gitHead": "
|
|
38
|
+
"gitHead": "ca4c1f53b72c3dcf6119cf35cf8c844f7063aae2"
|
|
39
39
|
}
|