@avalabs/glacier-sdk 3.1.0-canary.9f81e3c.0 → 3.1.0-canary.b1108b2.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 CHANGED
@@ -1008,9 +1008,8 @@ type ListChainsResponse = {
1008
1008
  chains: Array<ChainInfo>;
1009
1009
  };
1010
1010
 
1011
- declare enum Network {
1011
+ declare enum NetworkType {
1012
1012
  MAINNET = "mainnet",
1013
- FUJI = "fuji",
1014
1013
  TESTNET = "testnet"
1015
1014
  }
1016
1015
 
@@ -1025,9 +1024,9 @@ declare class EvmChainsService {
1025
1024
  */
1026
1025
  supportedChains({ network, feature, }: {
1027
1026
  /**
1028
- * Either mainnet or testnet/fuji.
1027
+ * mainnet or testnet.
1029
1028
  */
1030
- network?: Network;
1029
+ network?: NetworkType;
1031
1030
  /**
1032
1031
  * Filter by feature.
1033
1032
  */
@@ -2332,8 +2331,8 @@ declare enum EVMOperationType {
2332
2331
 
2333
2332
  type CreateEvmTransactionExportRequest = {
2334
2333
  type: EVMOperationType;
2335
- firstDate?: string;
2336
- lastDate?: string;
2334
+ firstDate: string;
2335
+ lastDate: string;
2337
2336
  /**
2338
2337
  * @deprecated
2339
2338
  */
@@ -2359,8 +2358,8 @@ type PrimaryNetworkOptions = {
2359
2358
 
2360
2359
  type CreatePrimaryNetworkTransactionExportRequest = {
2361
2360
  type: PrimaryNetworkOperationType;
2362
- firstDate?: string;
2363
- lastDate?: string;
2361
+ firstDate: string;
2362
+ lastDate: string;
2364
2363
  /**
2365
2364
  * @deprecated
2366
2365
  */
@@ -2759,6 +2758,11 @@ type ListValidatorDetailsResponse = {
2759
2758
  validators: Array<(CompletedValidatorDetails | ActiveValidatorDetails | PendingValidatorDetails | RemovedValidatorDetails)>;
2760
2759
  };
2761
2760
 
2761
+ declare enum Network {
2762
+ MAINNET = "mainnet",
2763
+ FUJI = "fuji"
2764
+ }
2765
+
2762
2766
  declare enum SortByOption {
2763
2767
  BLOCK_INDEX = "blockIndex",
2764
2768
  DELEGATION_CAPACITY = "delegationCapacity",
@@ -2836,7 +2840,7 @@ declare class PrimaryNetworkService {
2836
2840
  */
2837
2841
  blockchainId: XChainId;
2838
2842
  /**
2839
- * Either mainnet or testnet/fuji.
2843
+ * Either mainnet or a testnet.
2840
2844
  */
2841
2845
  network: Network;
2842
2846
  /**
@@ -2856,7 +2860,7 @@ declare class PrimaryNetworkService {
2856
2860
  */
2857
2861
  addresses: string;
2858
2862
  /**
2859
- * Either mainnet or testnet/fuji.
2863
+ * Either mainnet or a testnet.
2860
2864
  */
2861
2865
  network: Network;
2862
2866
  }): CancelablePromise<ChainAddressChainIdMapListResponse>;
@@ -2868,7 +2872,7 @@ declare class PrimaryNetworkService {
2868
2872
  */
2869
2873
  getNetworkDetails({ network, }: {
2870
2874
  /**
2871
- * Either mainnet or testnet/fuji.
2875
+ * Either mainnet or a testnet.
2872
2876
  */
2873
2877
  network: Network;
2874
2878
  }): CancelablePromise<GetNetworkDetailsResponse>;
@@ -2880,7 +2884,7 @@ declare class PrimaryNetworkService {
2880
2884
  */
2881
2885
  listBlockchains({ network, pageToken, pageSize, sortOrder, }: {
2882
2886
  /**
2883
- * Either mainnet or testnet/fuji.
2887
+ * Either mainnet or a testnet.
2884
2888
  */
2885
2889
  network: Network;
2886
2890
  /**
@@ -2904,7 +2908,7 @@ declare class PrimaryNetworkService {
2904
2908
  */
2905
2909
  listSubnets({ network, pageToken, pageSize, sortOrder, }: {
2906
2910
  /**
2907
- * Either mainnet or testnet/fuji.
2911
+ * Either mainnet or a testnet.
2908
2912
  */
2909
2913
  network: Network;
2910
2914
  /**
@@ -2928,7 +2932,7 @@ declare class PrimaryNetworkService {
2928
2932
  */
2929
2933
  getSubnetById({ network, subnetId, }: {
2930
2934
  /**
2931
- * Either mainnet or testnet/fuji.
2935
+ * Either mainnet or a testnet.
2932
2936
  */
2933
2937
  network: Network;
2934
2938
  /**
@@ -2944,7 +2948,7 @@ declare class PrimaryNetworkService {
2944
2948
  */
2945
2949
  listValidators({ network, pageToken, pageSize, nodeIds, sortBy, sortOrder, validationStatus, minDelegationCapacity, maxDelegationCapacity, minTimeRemaining, maxTimeRemaining, minFeePercentage, maxFeePercentage, minUptimePerformance, maxUptimePerformance, subnetId, }: {
2946
2950
  /**
2947
- * Either mainnet or testnet/fuji.
2951
+ * Either mainnet or a testnet.
2948
2952
  */
2949
2953
  network: Network;
2950
2954
  /**
@@ -3018,7 +3022,7 @@ declare class PrimaryNetworkService {
3018
3022
  */
3019
3023
  getSingleValidatorDetails({ network, nodeId, pageToken, pageSize, validationStatus, sortOrder, }: {
3020
3024
  /**
3021
- * Either mainnet or testnet/fuji.
3025
+ * Either mainnet or a testnet.
3022
3026
  */
3023
3027
  network: Network;
3024
3028
  /**
@@ -3050,7 +3054,7 @@ declare class PrimaryNetworkService {
3050
3054
  */
3051
3055
  listDelegators({ network, pageToken, pageSize, rewardAddresses, sortOrder, delegationStatus, nodeIds, }: {
3052
3056
  /**
3053
- * Either mainnet or testnet/fuji.
3057
+ * Either mainnet or a testnet.
3054
3058
  */
3055
3059
  network: Network;
3056
3060
  /**
@@ -3296,7 +3300,7 @@ declare class PrimaryNetworkBalancesService {
3296
3300
  */
3297
3301
  blockchainId: BlockchainId;
3298
3302
  /**
3299
- * Either mainnet or testnet/fuji.
3303
+ * Either mainnet or a testnet.
3300
3304
  */
3301
3305
  network: Network;
3302
3306
  /**
@@ -3368,7 +3372,7 @@ declare class PrimaryNetworkBlocksService {
3368
3372
  */
3369
3373
  blockchainId: BlockchainId;
3370
3374
  /**
3371
- * Either mainnet or testnet/fuji.
3375
+ * Either mainnet or a testnet.
3372
3376
  */
3373
3377
  network: Network;
3374
3378
  /**
@@ -3388,7 +3392,7 @@ declare class PrimaryNetworkBlocksService {
3388
3392
  */
3389
3393
  blockchainId: BlockchainId;
3390
3394
  /**
3391
- * Either mainnet or testnet/fuji.
3395
+ * Either mainnet or a testnet.
3392
3396
  */
3393
3397
  network: Network;
3394
3398
  /**
@@ -3416,7 +3420,7 @@ declare class PrimaryNetworkBlocksService {
3416
3420
  */
3417
3421
  blockchainId: BlockchainId;
3418
3422
  /**
3419
- * Either mainnet or testnet/fuji.
3423
+ * Either mainnet or a testnet.
3420
3424
  */
3421
3425
  network: Network;
3422
3426
  /**
@@ -3550,7 +3554,7 @@ declare class PrimaryNetworkRewardsService {
3550
3554
  */
3551
3555
  listPendingPrimaryNetworkRewards({ network, addresses, pageToken, pageSize, nodeIds, sortOrder, }: {
3552
3556
  /**
3553
- * Either mainnet or testnet/fuji.
3557
+ * Either mainnet or a testnet.
3554
3558
  */
3555
3559
  network: Network;
3556
3560
  /**
@@ -3582,7 +3586,7 @@ declare class PrimaryNetworkRewardsService {
3582
3586
  */
3583
3587
  listHistoricalPrimaryNetworkRewards({ network, addresses, pageToken, pageSize, nodeIds, sortOrder, currency, }: {
3584
3588
  /**
3585
- * Either mainnet or testnet/fuji.
3589
+ * Either mainnet or a testnet.
3586
3590
  */
3587
3591
  network: Network;
3588
3592
  /**
@@ -4173,7 +4177,7 @@ declare class PrimaryNetworkTransactionsService {
4173
4177
  */
4174
4178
  blockchainId: BlockchainId;
4175
4179
  /**
4176
- * Either mainnet or testnet/fuji.
4180
+ * Either mainnet or a testnet.
4177
4181
  */
4178
4182
  network: Network;
4179
4183
  /**
@@ -4201,7 +4205,7 @@ declare class PrimaryNetworkTransactionsService {
4201
4205
  */
4202
4206
  blockchainId: BlockchainId;
4203
4207
  /**
4204
- * Either mainnet or testnet/fuji.
4208
+ * Either mainnet or a testnet.
4205
4209
  */
4206
4210
  network: Network;
4207
4211
  /**
@@ -4241,7 +4245,7 @@ declare class PrimaryNetworkTransactionsService {
4241
4245
  */
4242
4246
  blockchainId: PChainId;
4243
4247
  /**
4244
- * Either mainnet or testnet/fuji.
4248
+ * Either mainnet or a testnet.
4245
4249
  */
4246
4250
  network: Network;
4247
4251
  /**
@@ -4285,7 +4289,7 @@ declare class PrimaryNetworkTransactionsService {
4285
4289
  */
4286
4290
  blockchainId: XChainId;
4287
4291
  /**
4288
- * Either mainnet or testnet/fuji.
4292
+ * Either mainnet or a testnet.
4289
4293
  */
4290
4294
  network: Network;
4291
4295
  /**
@@ -4348,7 +4352,7 @@ declare class PrimaryNetworkUtxOsService {
4348
4352
  */
4349
4353
  blockchainId: BlockchainId;
4350
4354
  /**
4351
- * Either mainnet or testnet/fuji.
4355
+ * Either mainnet or a testnet.
4352
4356
  */
4353
4357
  network: Network;
4354
4358
  /**
@@ -4413,7 +4417,7 @@ declare class PrimaryNetworkVerticesService {
4413
4417
  */
4414
4418
  blockchainId: XChainId;
4415
4419
  /**
4416
- * Either mainnet or testnet/fuji.
4420
+ * Either mainnet or a testnet.
4417
4421
  */
4418
4422
  network: Network;
4419
4423
  /**
@@ -4441,7 +4445,7 @@ declare class PrimaryNetworkVerticesService {
4441
4445
  */
4442
4446
  blockchainId: XChainId;
4443
4447
  /**
4444
- * Either mainnet or testnet/fuji.
4448
+ * Either mainnet or a testnet.
4445
4449
  */
4446
4450
  network: Network;
4447
4451
  }): CancelablePromise<XChainVertex>;
@@ -4461,7 +4465,7 @@ declare class PrimaryNetworkVerticesService {
4461
4465
  */
4462
4466
  blockchainId: XChainId;
4463
4467
  /**
4464
- * Either mainnet or testnet/fuji.
4468
+ * Either mainnet or a testnet.
4465
4469
  */
4466
4470
  network: Network;
4467
4471
  /**
@@ -4707,9 +4711,9 @@ declare class TeleporterService {
4707
4711
  */
4708
4712
  from?: string;
4709
4713
  /**
4710
- * Either mainnet or testnet/fuji.
4714
+ * mainnet or testnet.
4711
4715
  */
4712
- network?: Network;
4716
+ network?: NetworkType;
4713
4717
  }): CancelablePromise<ListTeleporterMessagesResponse>;
4714
4718
  /**
4715
4719
  * List teleporter messages by address
@@ -4731,9 +4735,9 @@ declare class TeleporterService {
4731
4735
  */
4732
4736
  pageSize?: number;
4733
4737
  /**
4734
- * Either mainnet or testnet/fuji.
4738
+ * mainnet or testnet.
4735
4739
  */
4736
- network?: Network;
4740
+ network?: NetworkType;
4737
4741
  }): CancelablePromise<ListTeleporterMessagesResponse>;
4738
4742
  }
4739
4743
 
@@ -5141,4 +5145,4 @@ type Unauthorized = {
5141
5145
  error: string;
5142
5146
  };
5143
5147
 
5144
- export { ActiveDelegatorDetails, ActiveValidatorDetails, AddressActivityMetadata, AddressesChangeRequest, AggregatedAssetAmount, ApiError, ApiFeature, AssetAmount, AssetWithPriceInfo, BadGateway, BadRequest, BaseHttpRequest, Blockchain, BlockchainId, BlockchainIds, BlockchainInfo, BlsCredentials, CChainAtomicBalances, CChainExportTransaction, CChainImportTransaction, CChainSharedAssetBalance, CancelError, CancelablePromise, ChainAddressChainIdMap, ChainAddressChainIdMapListResponse, ChainInfo, ChainStatus, CompletedDelegatorDetails, CompletedValidatorDetails, ContractDeploymentDetails, ContractSubmissionBody, ContractSubmissionErc1155, ContractSubmissionErc20, ContractSubmissionErc721, ContractSubmissionUnknown, CreateEvmTransactionExportRequest, CreatePrimaryNetworkTransactionExportRequest, CreateWebhookRequest, CurrencyCode, DataApiUsageMetricsService, DataListChainsResponse, DefaultService, DelegationStatusType, DelegatorsDetails, DeliveredSourceNotIndexedTeleporterMessage, DeliveredTeleporterMessage, EVMInput, EVMOperationType, EVMOutput, Erc1155Contract, Erc1155Token, Erc1155TokenBalance, Erc1155TokenMetadata, Erc1155Transfer, Erc1155TransferDetails, Erc20Contract, Erc20Token, Erc20TokenBalance, Erc20Transfer, Erc20TransferDetails, Erc721Contract, Erc721Token, Erc721TokenBalance, Erc721TokenMetadata, Erc721Transfer, Erc721TransferDetails, EventType, EvmBalancesService, EvmBlock, EvmBlocksService, EvmChainsService, EvmContractsService, EvmNetworkOptions, EvmTransactionsService, Forbidden, FullNativeTransactionDetails, GetChainResponse, GetEvmBlockResponse, GetNativeBalanceResponse, GetNetworkDetailsResponse, GetPrimaryNetworkBlockResponse, GetTransactionResponse, Glacier, HealthCheckService, HistoricalReward, ImageAsset, InternalServerError, InternalTransaction, InternalTransactionDetails, InternalTransactionOpCall, ListBlockchainsResponse, ListCChainAtomicBalancesResponse, ListCChainAtomicTransactionsResponse, ListChainsResponse, ListCollectibleBalancesResponse, ListContractsResponse, ListDelegatorDetailsResponse, ListErc1155BalancesResponse, ListErc1155TransactionsResponse, ListErc20BalancesResponse, ListErc20TransactionsResponse, ListErc721BalancesResponse, ListErc721TransactionsResponse, ListEvmBlocksResponse, ListHistoricalRewardsResponse, ListInternalTransactionsResponse, ListNativeTransactionsResponse, ListNftTokens, ListPChainBalancesResponse, ListPChainTransactionsResponse, ListPChainUtxosResponse, ListPendingRewardsResponse, ListPrimaryNetworkBlocksResponse, ListSubnetsResponse, ListTeleporterMessagesResponse, ListTransactionDetailsResponse, ListTransfersResponse, ListUtxosResponse, ListValidatorDetailsResponse, ListWebhookAddressesResponse, ListWebhooksResponse, ListXChainBalancesResponse, ListXChainTransactionsResponse, ListXChainVerticesResponse, LogsFormat, LogsFormatMetadata, LogsResponseDTO, Method, Metric, Money, NativeTokenBalance, NativeTransaction, Network, NetworkToken, NetworkTokenDetails, NextPageToken, NfTsService, NftTokenMetadataStatus, NotFound, OpenAPI, OpenAPIConfig, OperationStatus, OperationStatusCode, OperationStatusResponse, OperationType, OperationsService, PChainBalance, PChainId, PChainSharedAsset, PChainTransaction, PChainTransactionType, PChainUtxo, PendingDelegatorDetails, PendingReward, PendingTeleporterMessage, PendingValidatorDetails, PricingProviders, PrimaryNetwork, PrimaryNetworkAssetCap, PrimaryNetworkAssetType, PrimaryNetworkBalancesService, PrimaryNetworkBlock, PrimaryNetworkBlocksService, PrimaryNetworkChainInfo, PrimaryNetworkChainName, PrimaryNetworkOperationType, PrimaryNetworkOptions, PrimaryNetworkRewardsService, PrimaryNetworkService, PrimaryNetworkTransactionsService, PrimaryNetworkTxType, PrimaryNetworkUtxOsService, PrimaryNetworkVerticesService, ProposerDetails, RemovedValidatorDetails, RequestType, ResourceLink, ResourceLinkType, RewardType, Rewards, RichAddress, RpcErrorDto, RpcErrorResponseDto, RpcRequestBodyDto, RpcService, RpcSuccessResponseDto, ServiceUnavailable, SharedSecretsResponse, SortByOption, SortOrder, StakingDistribution, Subnet, SubnetOwnershipInfo, TeleporterDestinationTransaction, TeleporterMessageInfo, TeleporterReceipt, TeleporterRewardDetails, TeleporterService, TeleporterSourceTransaction, TimeIntervalGranularityExtended, TooManyRequests, TransactionDetails, TransactionDirectionType, TransactionExportMetadata, TransactionMethodType, TransactionStatus, TransactionVertexDetail, Unauthorized, UnknownContract, UpdateContractResponse, UpdateWebhookRequest, UsageMetricsGroupByEnum, UsageMetricsResponseDTO, UsageMetricsValueDTO, UtilityAddresses, Utxo, UtxoCredential, UtxoType, ValidationStatusType, ValidatorHealthDetails, ValidatorsDetails, VmName, WebhookResponse, WebhookStatus, WebhookStatusType, WebhooksService, XChainAssetDetails, XChainBalances, XChainId, XChainLinearTransaction, XChainNonLinearTransaction, XChainSharedAssetBalance, XChainTransactionType, XChainVertex };
5148
+ export { ActiveDelegatorDetails, ActiveValidatorDetails, AddressActivityMetadata, AddressesChangeRequest, AggregatedAssetAmount, ApiError, ApiFeature, AssetAmount, AssetWithPriceInfo, BadGateway, BadRequest, BaseHttpRequest, Blockchain, BlockchainId, BlockchainIds, BlockchainInfo, BlsCredentials, CChainAtomicBalances, CChainExportTransaction, CChainImportTransaction, CChainSharedAssetBalance, CancelError, CancelablePromise, ChainAddressChainIdMap, ChainAddressChainIdMapListResponse, ChainInfo, ChainStatus, CompletedDelegatorDetails, CompletedValidatorDetails, ContractDeploymentDetails, ContractSubmissionBody, ContractSubmissionErc1155, ContractSubmissionErc20, ContractSubmissionErc721, ContractSubmissionUnknown, CreateEvmTransactionExportRequest, CreatePrimaryNetworkTransactionExportRequest, CreateWebhookRequest, CurrencyCode, DataApiUsageMetricsService, DataListChainsResponse, DefaultService, DelegationStatusType, DelegatorsDetails, DeliveredSourceNotIndexedTeleporterMessage, DeliveredTeleporterMessage, EVMInput, EVMOperationType, EVMOutput, Erc1155Contract, Erc1155Token, Erc1155TokenBalance, Erc1155TokenMetadata, Erc1155Transfer, Erc1155TransferDetails, Erc20Contract, Erc20Token, Erc20TokenBalance, Erc20Transfer, Erc20TransferDetails, Erc721Contract, Erc721Token, Erc721TokenBalance, Erc721TokenMetadata, Erc721Transfer, Erc721TransferDetails, EventType, EvmBalancesService, EvmBlock, EvmBlocksService, EvmChainsService, EvmContractsService, EvmNetworkOptions, EvmTransactionsService, Forbidden, FullNativeTransactionDetails, GetChainResponse, GetEvmBlockResponse, GetNativeBalanceResponse, GetNetworkDetailsResponse, GetPrimaryNetworkBlockResponse, GetTransactionResponse, Glacier, HealthCheckService, HistoricalReward, ImageAsset, InternalServerError, InternalTransaction, InternalTransactionDetails, InternalTransactionOpCall, ListBlockchainsResponse, ListCChainAtomicBalancesResponse, ListCChainAtomicTransactionsResponse, ListChainsResponse, ListCollectibleBalancesResponse, ListContractsResponse, ListDelegatorDetailsResponse, ListErc1155BalancesResponse, ListErc1155TransactionsResponse, ListErc20BalancesResponse, ListErc20TransactionsResponse, ListErc721BalancesResponse, ListErc721TransactionsResponse, ListEvmBlocksResponse, ListHistoricalRewardsResponse, ListInternalTransactionsResponse, ListNativeTransactionsResponse, ListNftTokens, ListPChainBalancesResponse, ListPChainTransactionsResponse, ListPChainUtxosResponse, ListPendingRewardsResponse, ListPrimaryNetworkBlocksResponse, ListSubnetsResponse, ListTeleporterMessagesResponse, ListTransactionDetailsResponse, ListTransfersResponse, ListUtxosResponse, ListValidatorDetailsResponse, ListWebhookAddressesResponse, ListWebhooksResponse, ListXChainBalancesResponse, ListXChainTransactionsResponse, ListXChainVerticesResponse, LogsFormat, LogsFormatMetadata, LogsResponseDTO, Method, Metric, Money, NativeTokenBalance, NativeTransaction, Network, NetworkToken, NetworkTokenDetails, NetworkType, NextPageToken, NfTsService, NftTokenMetadataStatus, NotFound, OpenAPI, OpenAPIConfig, OperationStatus, OperationStatusCode, OperationStatusResponse, OperationType, OperationsService, PChainBalance, PChainId, PChainSharedAsset, PChainTransaction, PChainTransactionType, PChainUtxo, PendingDelegatorDetails, PendingReward, PendingTeleporterMessage, PendingValidatorDetails, PricingProviders, PrimaryNetwork, PrimaryNetworkAssetCap, PrimaryNetworkAssetType, PrimaryNetworkBalancesService, PrimaryNetworkBlock, PrimaryNetworkBlocksService, PrimaryNetworkChainInfo, PrimaryNetworkChainName, PrimaryNetworkOperationType, PrimaryNetworkOptions, PrimaryNetworkRewardsService, PrimaryNetworkService, PrimaryNetworkTransactionsService, PrimaryNetworkTxType, PrimaryNetworkUtxOsService, PrimaryNetworkVerticesService, ProposerDetails, RemovedValidatorDetails, RequestType, ResourceLink, ResourceLinkType, RewardType, Rewards, RichAddress, RpcErrorDto, RpcErrorResponseDto, RpcRequestBodyDto, RpcService, RpcSuccessResponseDto, ServiceUnavailable, SharedSecretsResponse, SortByOption, SortOrder, StakingDistribution, Subnet, SubnetOwnershipInfo, TeleporterDestinationTransaction, TeleporterMessageInfo, TeleporterReceipt, TeleporterRewardDetails, TeleporterService, TeleporterSourceTransaction, TimeIntervalGranularityExtended, TooManyRequests, TransactionDetails, TransactionDirectionType, TransactionExportMetadata, TransactionMethodType, TransactionStatus, TransactionVertexDetail, Unauthorized, UnknownContract, UpdateContractResponse, UpdateWebhookRequest, UsageMetricsGroupByEnum, UsageMetricsResponseDTO, UsageMetricsValueDTO, UtilityAddresses, Utxo, UtxoCredential, UtxoType, ValidationStatusType, ValidatorHealthDetails, ValidatorsDetails, VmName, WebhookResponse, WebhookStatus, WebhookStatusType, WebhooksService, XChainAssetDetails, XChainBalances, XChainId, XChainLinearTransaction, XChainNonLinearTransaction, XChainSharedAssetBalance, XChainTransactionType, XChainVertex };