@avalabs/glacier-sdk 3.1.0-canary.682531.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
  */
@@ -2695,6 +2696,7 @@ type CompletedValidatorDetails = {
2695
2696
  */
2696
2697
  blsCredentials?: BlsCredentials;
2697
2698
  delegatorCount: number;
2699
+ amountDelegated?: string;
2698
2700
  rewards: Rewards;
2699
2701
  validationStatus: CompletedValidatorDetails.validationStatus;
2700
2702
  };
@@ -2757,11 +2759,6 @@ type ListValidatorDetailsResponse = {
2757
2759
  validators: Array<(CompletedValidatorDetails | ActiveValidatorDetails | PendingValidatorDetails | RemovedValidatorDetails)>;
2758
2760
  };
2759
2761
 
2760
- declare enum Network {
2761
- MAINNET = "mainnet",
2762
- FUJI = "fuji"
2763
- }
2764
-
2765
2762
  declare enum SortByOption {
2766
2763
  BLOCK_INDEX = "blockIndex",
2767
2764
  DELEGATION_CAPACITY = "delegationCapacity",
@@ -2839,7 +2836,7 @@ declare class PrimaryNetworkService {
2839
2836
  */
2840
2837
  blockchainId: XChainId;
2841
2838
  /**
2842
- * Either mainnet or a testnet.
2839
+ * Either mainnet or testnet/fuji.
2843
2840
  */
2844
2841
  network: Network;
2845
2842
  /**
@@ -2859,7 +2856,7 @@ declare class PrimaryNetworkService {
2859
2856
  */
2860
2857
  addresses: string;
2861
2858
  /**
2862
- * Either mainnet or a testnet.
2859
+ * Either mainnet or testnet/fuji.
2863
2860
  */
2864
2861
  network: Network;
2865
2862
  }): CancelablePromise<ChainAddressChainIdMapListResponse>;
@@ -2871,7 +2868,7 @@ declare class PrimaryNetworkService {
2871
2868
  */
2872
2869
  getNetworkDetails({ network, }: {
2873
2870
  /**
2874
- * Either mainnet or a testnet.
2871
+ * Either mainnet or testnet/fuji.
2875
2872
  */
2876
2873
  network: Network;
2877
2874
  }): CancelablePromise<GetNetworkDetailsResponse>;
@@ -2883,7 +2880,7 @@ declare class PrimaryNetworkService {
2883
2880
  */
2884
2881
  listBlockchains({ network, pageToken, pageSize, sortOrder, }: {
2885
2882
  /**
2886
- * Either mainnet or a testnet.
2883
+ * Either mainnet or testnet/fuji.
2887
2884
  */
2888
2885
  network: Network;
2889
2886
  /**
@@ -2907,7 +2904,7 @@ declare class PrimaryNetworkService {
2907
2904
  */
2908
2905
  listSubnets({ network, pageToken, pageSize, sortOrder, }: {
2909
2906
  /**
2910
- * Either mainnet or a testnet.
2907
+ * Either mainnet or testnet/fuji.
2911
2908
  */
2912
2909
  network: Network;
2913
2910
  /**
@@ -2931,7 +2928,7 @@ declare class PrimaryNetworkService {
2931
2928
  */
2932
2929
  getSubnetById({ network, subnetId, }: {
2933
2930
  /**
2934
- * Either mainnet or a testnet.
2931
+ * Either mainnet or testnet/fuji.
2935
2932
  */
2936
2933
  network: Network;
2937
2934
  /**
@@ -2947,7 +2944,7 @@ declare class PrimaryNetworkService {
2947
2944
  */
2948
2945
  listValidators({ network, pageToken, pageSize, nodeIds, sortBy, sortOrder, validationStatus, minDelegationCapacity, maxDelegationCapacity, minTimeRemaining, maxTimeRemaining, minFeePercentage, maxFeePercentage, minUptimePerformance, maxUptimePerformance, subnetId, }: {
2949
2946
  /**
2950
- * Either mainnet or a testnet.
2947
+ * Either mainnet or testnet/fuji.
2951
2948
  */
2952
2949
  network: Network;
2953
2950
  /**
@@ -3021,7 +3018,7 @@ declare class PrimaryNetworkService {
3021
3018
  */
3022
3019
  getSingleValidatorDetails({ network, nodeId, pageToken, pageSize, validationStatus, sortOrder, }: {
3023
3020
  /**
3024
- * Either mainnet or a testnet.
3021
+ * Either mainnet or testnet/fuji.
3025
3022
  */
3026
3023
  network: Network;
3027
3024
  /**
@@ -3053,7 +3050,7 @@ declare class PrimaryNetworkService {
3053
3050
  */
3054
3051
  listDelegators({ network, pageToken, pageSize, rewardAddresses, sortOrder, delegationStatus, nodeIds, }: {
3055
3052
  /**
3056
- * Either mainnet or a testnet.
3053
+ * Either mainnet or testnet/fuji.
3057
3054
  */
3058
3055
  network: Network;
3059
3056
  /**
@@ -3299,7 +3296,7 @@ declare class PrimaryNetworkBalancesService {
3299
3296
  */
3300
3297
  blockchainId: BlockchainId;
3301
3298
  /**
3302
- * Either mainnet or a testnet.
3299
+ * Either mainnet or testnet/fuji.
3303
3300
  */
3304
3301
  network: Network;
3305
3302
  /**
@@ -3371,7 +3368,7 @@ declare class PrimaryNetworkBlocksService {
3371
3368
  */
3372
3369
  blockchainId: BlockchainId;
3373
3370
  /**
3374
- * Either mainnet or a testnet.
3371
+ * Either mainnet or testnet/fuji.
3375
3372
  */
3376
3373
  network: Network;
3377
3374
  /**
@@ -3391,7 +3388,7 @@ declare class PrimaryNetworkBlocksService {
3391
3388
  */
3392
3389
  blockchainId: BlockchainId;
3393
3390
  /**
3394
- * Either mainnet or a testnet.
3391
+ * Either mainnet or testnet/fuji.
3395
3392
  */
3396
3393
  network: Network;
3397
3394
  /**
@@ -3419,7 +3416,7 @@ declare class PrimaryNetworkBlocksService {
3419
3416
  */
3420
3417
  blockchainId: BlockchainId;
3421
3418
  /**
3422
- * Either mainnet or a testnet.
3419
+ * Either mainnet or testnet/fuji.
3423
3420
  */
3424
3421
  network: Network;
3425
3422
  /**
@@ -3553,7 +3550,7 @@ declare class PrimaryNetworkRewardsService {
3553
3550
  */
3554
3551
  listPendingPrimaryNetworkRewards({ network, addresses, pageToken, pageSize, nodeIds, sortOrder, }: {
3555
3552
  /**
3556
- * Either mainnet or a testnet.
3553
+ * Either mainnet or testnet/fuji.
3557
3554
  */
3558
3555
  network: Network;
3559
3556
  /**
@@ -3585,7 +3582,7 @@ declare class PrimaryNetworkRewardsService {
3585
3582
  */
3586
3583
  listHistoricalPrimaryNetworkRewards({ network, addresses, pageToken, pageSize, nodeIds, sortOrder, currency, }: {
3587
3584
  /**
3588
- * Either mainnet or a testnet.
3585
+ * Either mainnet or testnet/fuji.
3589
3586
  */
3590
3587
  network: Network;
3591
3588
  /**
@@ -4176,7 +4173,7 @@ declare class PrimaryNetworkTransactionsService {
4176
4173
  */
4177
4174
  blockchainId: BlockchainId;
4178
4175
  /**
4179
- * Either mainnet or a testnet.
4176
+ * Either mainnet or testnet/fuji.
4180
4177
  */
4181
4178
  network: Network;
4182
4179
  /**
@@ -4204,7 +4201,7 @@ declare class PrimaryNetworkTransactionsService {
4204
4201
  */
4205
4202
  blockchainId: BlockchainId;
4206
4203
  /**
4207
- * Either mainnet or a testnet.
4204
+ * Either mainnet or testnet/fuji.
4208
4205
  */
4209
4206
  network: Network;
4210
4207
  /**
@@ -4244,7 +4241,7 @@ declare class PrimaryNetworkTransactionsService {
4244
4241
  */
4245
4242
  blockchainId: PChainId;
4246
4243
  /**
4247
- * Either mainnet or a testnet.
4244
+ * Either mainnet or testnet/fuji.
4248
4245
  */
4249
4246
  network: Network;
4250
4247
  /**
@@ -4288,7 +4285,7 @@ declare class PrimaryNetworkTransactionsService {
4288
4285
  */
4289
4286
  blockchainId: XChainId;
4290
4287
  /**
4291
- * Either mainnet or a testnet.
4288
+ * Either mainnet or testnet/fuji.
4292
4289
  */
4293
4290
  network: Network;
4294
4291
  /**
@@ -4351,7 +4348,7 @@ declare class PrimaryNetworkUtxOsService {
4351
4348
  */
4352
4349
  blockchainId: BlockchainId;
4353
4350
  /**
4354
- * Either mainnet or a testnet.
4351
+ * Either mainnet or testnet/fuji.
4355
4352
  */
4356
4353
  network: Network;
4357
4354
  /**
@@ -4416,7 +4413,7 @@ declare class PrimaryNetworkVerticesService {
4416
4413
  */
4417
4414
  blockchainId: XChainId;
4418
4415
  /**
4419
- * Either mainnet or a testnet.
4416
+ * Either mainnet or testnet/fuji.
4420
4417
  */
4421
4418
  network: Network;
4422
4419
  /**
@@ -4444,7 +4441,7 @@ declare class PrimaryNetworkVerticesService {
4444
4441
  */
4445
4442
  blockchainId: XChainId;
4446
4443
  /**
4447
- * Either mainnet or a testnet.
4444
+ * Either mainnet or testnet/fuji.
4448
4445
  */
4449
4446
  network: Network;
4450
4447
  }): CancelablePromise<XChainVertex>;
@@ -4464,7 +4461,7 @@ declare class PrimaryNetworkVerticesService {
4464
4461
  */
4465
4462
  blockchainId: XChainId;
4466
4463
  /**
4467
- * Either mainnet or a testnet.
4464
+ * Either mainnet or testnet/fuji.
4468
4465
  */
4469
4466
  network: Network;
4470
4467
  /**
@@ -4710,9 +4707,9 @@ declare class TeleporterService {
4710
4707
  */
4711
4708
  from?: string;
4712
4709
  /**
4713
- * mainnet or testnet.
4710
+ * Either mainnet or testnet/fuji.
4714
4711
  */
4715
- network?: NetworkType;
4712
+ network?: Network;
4716
4713
  }): CancelablePromise<ListTeleporterMessagesResponse>;
4717
4714
  /**
4718
4715
  * List teleporter messages by address
@@ -4734,9 +4731,9 @@ declare class TeleporterService {
4734
4731
  */
4735
4732
  pageSize?: number;
4736
4733
  /**
4737
- * mainnet or testnet.
4734
+ * Either mainnet or testnet/fuji.
4738
4735
  */
4739
- network?: NetworkType;
4736
+ network?: Network;
4740
4737
  }): CancelablePromise<ListTeleporterMessagesResponse>;
4741
4738
  }
4742
4739
 
@@ -5144,4 +5141,4 @@ type Unauthorized = {
5144
5141
  error: string;
5145
5142
  };
5146
5143
 
5147
- 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 };