@avalabs/glacier-sdk 3.1.0-canary.7a21d42.0 → 3.1.0-canary.9f81e3c.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,8 +1008,9 @@ type ListChainsResponse = {
1008
1008
  chains: Array<ChainInfo>;
1009
1009
  };
1010
1010
 
1011
- declare enum NetworkType {
1011
+ declare enum Network {
1012
1012
  MAINNET = "mainnet",
1013
+ FUJI = "fuji",
1013
1014
  TESTNET = "testnet"
1014
1015
  }
1015
1016
 
@@ -1024,9 +1025,9 @@ declare class EvmChainsService {
1024
1025
  */
1025
1026
  supportedChains({ network, feature, }: {
1026
1027
  /**
1027
- * mainnet or testnet.
1028
+ * Either mainnet or testnet/fuji.
1028
1029
  */
1029
- network?: NetworkType;
1030
+ network?: Network;
1030
1031
  /**
1031
1032
  * Filter by feature.
1032
1033
  */
@@ -2331,8 +2332,8 @@ declare enum EVMOperationType {
2331
2332
 
2332
2333
  type CreateEvmTransactionExportRequest = {
2333
2334
  type: EVMOperationType;
2334
- firstDate: string;
2335
- lastDate: string;
2335
+ firstDate?: string;
2336
+ lastDate?: string;
2336
2337
  /**
2337
2338
  * @deprecated
2338
2339
  */
@@ -2358,8 +2359,8 @@ type PrimaryNetworkOptions = {
2358
2359
 
2359
2360
  type CreatePrimaryNetworkTransactionExportRequest = {
2360
2361
  type: PrimaryNetworkOperationType;
2361
- firstDate: string;
2362
- lastDate: string;
2362
+ firstDate?: string;
2363
+ lastDate?: string;
2363
2364
  /**
2364
2365
  * @deprecated
2365
2366
  */
@@ -2758,11 +2759,6 @@ type ListValidatorDetailsResponse = {
2758
2759
  validators: Array<(CompletedValidatorDetails | ActiveValidatorDetails | PendingValidatorDetails | RemovedValidatorDetails)>;
2759
2760
  };
2760
2761
 
2761
- declare enum Network {
2762
- MAINNET = "mainnet",
2763
- FUJI = "fuji"
2764
- }
2765
-
2766
2762
  declare enum SortByOption {
2767
2763
  BLOCK_INDEX = "blockIndex",
2768
2764
  DELEGATION_CAPACITY = "delegationCapacity",
@@ -2840,7 +2836,7 @@ declare class PrimaryNetworkService {
2840
2836
  */
2841
2837
  blockchainId: XChainId;
2842
2838
  /**
2843
- * Either mainnet or a testnet.
2839
+ * Either mainnet or testnet/fuji.
2844
2840
  */
2845
2841
  network: Network;
2846
2842
  /**
@@ -2860,7 +2856,7 @@ declare class PrimaryNetworkService {
2860
2856
  */
2861
2857
  addresses: string;
2862
2858
  /**
2863
- * Either mainnet or a testnet.
2859
+ * Either mainnet or testnet/fuji.
2864
2860
  */
2865
2861
  network: Network;
2866
2862
  }): CancelablePromise<ChainAddressChainIdMapListResponse>;
@@ -2872,7 +2868,7 @@ declare class PrimaryNetworkService {
2872
2868
  */
2873
2869
  getNetworkDetails({ network, }: {
2874
2870
  /**
2875
- * Either mainnet or a testnet.
2871
+ * Either mainnet or testnet/fuji.
2876
2872
  */
2877
2873
  network: Network;
2878
2874
  }): CancelablePromise<GetNetworkDetailsResponse>;
@@ -2884,7 +2880,7 @@ declare class PrimaryNetworkService {
2884
2880
  */
2885
2881
  listBlockchains({ network, pageToken, pageSize, sortOrder, }: {
2886
2882
  /**
2887
- * Either mainnet or a testnet.
2883
+ * Either mainnet or testnet/fuji.
2888
2884
  */
2889
2885
  network: Network;
2890
2886
  /**
@@ -2908,7 +2904,7 @@ declare class PrimaryNetworkService {
2908
2904
  */
2909
2905
  listSubnets({ network, pageToken, pageSize, sortOrder, }: {
2910
2906
  /**
2911
- * Either mainnet or a testnet.
2907
+ * Either mainnet or testnet/fuji.
2912
2908
  */
2913
2909
  network: Network;
2914
2910
  /**
@@ -2932,7 +2928,7 @@ declare class PrimaryNetworkService {
2932
2928
  */
2933
2929
  getSubnetById({ network, subnetId, }: {
2934
2930
  /**
2935
- * Either mainnet or a testnet.
2931
+ * Either mainnet or testnet/fuji.
2936
2932
  */
2937
2933
  network: Network;
2938
2934
  /**
@@ -2948,7 +2944,7 @@ declare class PrimaryNetworkService {
2948
2944
  */
2949
2945
  listValidators({ network, pageToken, pageSize, nodeIds, sortBy, sortOrder, validationStatus, minDelegationCapacity, maxDelegationCapacity, minTimeRemaining, maxTimeRemaining, minFeePercentage, maxFeePercentage, minUptimePerformance, maxUptimePerformance, subnetId, }: {
2950
2946
  /**
2951
- * Either mainnet or a testnet.
2947
+ * Either mainnet or testnet/fuji.
2952
2948
  */
2953
2949
  network: Network;
2954
2950
  /**
@@ -3022,7 +3018,7 @@ declare class PrimaryNetworkService {
3022
3018
  */
3023
3019
  getSingleValidatorDetails({ network, nodeId, pageToken, pageSize, validationStatus, sortOrder, }: {
3024
3020
  /**
3025
- * Either mainnet or a testnet.
3021
+ * Either mainnet or testnet/fuji.
3026
3022
  */
3027
3023
  network: Network;
3028
3024
  /**
@@ -3054,7 +3050,7 @@ declare class PrimaryNetworkService {
3054
3050
  */
3055
3051
  listDelegators({ network, pageToken, pageSize, rewardAddresses, sortOrder, delegationStatus, nodeIds, }: {
3056
3052
  /**
3057
- * Either mainnet or a testnet.
3053
+ * Either mainnet or testnet/fuji.
3058
3054
  */
3059
3055
  network: Network;
3060
3056
  /**
@@ -3300,7 +3296,7 @@ declare class PrimaryNetworkBalancesService {
3300
3296
  */
3301
3297
  blockchainId: BlockchainId;
3302
3298
  /**
3303
- * Either mainnet or a testnet.
3299
+ * Either mainnet or testnet/fuji.
3304
3300
  */
3305
3301
  network: Network;
3306
3302
  /**
@@ -3372,7 +3368,7 @@ declare class PrimaryNetworkBlocksService {
3372
3368
  */
3373
3369
  blockchainId: BlockchainId;
3374
3370
  /**
3375
- * Either mainnet or a testnet.
3371
+ * Either mainnet or testnet/fuji.
3376
3372
  */
3377
3373
  network: Network;
3378
3374
  /**
@@ -3392,7 +3388,7 @@ declare class PrimaryNetworkBlocksService {
3392
3388
  */
3393
3389
  blockchainId: BlockchainId;
3394
3390
  /**
3395
- * Either mainnet or a testnet.
3391
+ * Either mainnet or testnet/fuji.
3396
3392
  */
3397
3393
  network: Network;
3398
3394
  /**
@@ -3420,7 +3416,7 @@ declare class PrimaryNetworkBlocksService {
3420
3416
  */
3421
3417
  blockchainId: BlockchainId;
3422
3418
  /**
3423
- * Either mainnet or a testnet.
3419
+ * Either mainnet or testnet/fuji.
3424
3420
  */
3425
3421
  network: Network;
3426
3422
  /**
@@ -3554,7 +3550,7 @@ declare class PrimaryNetworkRewardsService {
3554
3550
  */
3555
3551
  listPendingPrimaryNetworkRewards({ network, addresses, pageToken, pageSize, nodeIds, sortOrder, }: {
3556
3552
  /**
3557
- * Either mainnet or a testnet.
3553
+ * Either mainnet or testnet/fuji.
3558
3554
  */
3559
3555
  network: Network;
3560
3556
  /**
@@ -3586,7 +3582,7 @@ declare class PrimaryNetworkRewardsService {
3586
3582
  */
3587
3583
  listHistoricalPrimaryNetworkRewards({ network, addresses, pageToken, pageSize, nodeIds, sortOrder, currency, }: {
3588
3584
  /**
3589
- * Either mainnet or a testnet.
3585
+ * Either mainnet or testnet/fuji.
3590
3586
  */
3591
3587
  network: Network;
3592
3588
  /**
@@ -4177,7 +4173,7 @@ declare class PrimaryNetworkTransactionsService {
4177
4173
  */
4178
4174
  blockchainId: BlockchainId;
4179
4175
  /**
4180
- * Either mainnet or a testnet.
4176
+ * Either mainnet or testnet/fuji.
4181
4177
  */
4182
4178
  network: Network;
4183
4179
  /**
@@ -4205,7 +4201,7 @@ declare class PrimaryNetworkTransactionsService {
4205
4201
  */
4206
4202
  blockchainId: BlockchainId;
4207
4203
  /**
4208
- * Either mainnet or a testnet.
4204
+ * Either mainnet or testnet/fuji.
4209
4205
  */
4210
4206
  network: Network;
4211
4207
  /**
@@ -4245,7 +4241,7 @@ declare class PrimaryNetworkTransactionsService {
4245
4241
  */
4246
4242
  blockchainId: PChainId;
4247
4243
  /**
4248
- * Either mainnet or a testnet.
4244
+ * Either mainnet or testnet/fuji.
4249
4245
  */
4250
4246
  network: Network;
4251
4247
  /**
@@ -4289,7 +4285,7 @@ declare class PrimaryNetworkTransactionsService {
4289
4285
  */
4290
4286
  blockchainId: XChainId;
4291
4287
  /**
4292
- * Either mainnet or a testnet.
4288
+ * Either mainnet or testnet/fuji.
4293
4289
  */
4294
4290
  network: Network;
4295
4291
  /**
@@ -4352,7 +4348,7 @@ declare class PrimaryNetworkUtxOsService {
4352
4348
  */
4353
4349
  blockchainId: BlockchainId;
4354
4350
  /**
4355
- * Either mainnet or a testnet.
4351
+ * Either mainnet or testnet/fuji.
4356
4352
  */
4357
4353
  network: Network;
4358
4354
  /**
@@ -4417,7 +4413,7 @@ declare class PrimaryNetworkVerticesService {
4417
4413
  */
4418
4414
  blockchainId: XChainId;
4419
4415
  /**
4420
- * Either mainnet or a testnet.
4416
+ * Either mainnet or testnet/fuji.
4421
4417
  */
4422
4418
  network: Network;
4423
4419
  /**
@@ -4445,7 +4441,7 @@ declare class PrimaryNetworkVerticesService {
4445
4441
  */
4446
4442
  blockchainId: XChainId;
4447
4443
  /**
4448
- * Either mainnet or a testnet.
4444
+ * Either mainnet or testnet/fuji.
4449
4445
  */
4450
4446
  network: Network;
4451
4447
  }): CancelablePromise<XChainVertex>;
@@ -4465,7 +4461,7 @@ declare class PrimaryNetworkVerticesService {
4465
4461
  */
4466
4462
  blockchainId: XChainId;
4467
4463
  /**
4468
- * Either mainnet or a testnet.
4464
+ * Either mainnet or testnet/fuji.
4469
4465
  */
4470
4466
  network: Network;
4471
4467
  /**
@@ -4711,9 +4707,9 @@ declare class TeleporterService {
4711
4707
  */
4712
4708
  from?: string;
4713
4709
  /**
4714
- * mainnet or testnet.
4710
+ * Either mainnet or testnet/fuji.
4715
4711
  */
4716
- network?: NetworkType;
4712
+ network?: Network;
4717
4713
  }): CancelablePromise<ListTeleporterMessagesResponse>;
4718
4714
  /**
4719
4715
  * List teleporter messages by address
@@ -4735,9 +4731,9 @@ declare class TeleporterService {
4735
4731
  */
4736
4732
  pageSize?: number;
4737
4733
  /**
4738
- * mainnet or testnet.
4734
+ * Either mainnet or testnet/fuji.
4739
4735
  */
4740
- network?: NetworkType;
4736
+ network?: Network;
4741
4737
  }): CancelablePromise<ListTeleporterMessagesResponse>;
4742
4738
  }
4743
4739
 
@@ -5145,4 +5141,4 @@ type Unauthorized = {
5145
5141
  error: string;
5146
5142
  };
5147
5143
 
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 };
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 };