@avalabs/glacier-sdk 2.8.0-alpha.187 → 2.8.0-alpha.189
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 +26 -1
- package/esm/generated/models/ActiveValidatorDetails.d.ts +5 -0
- package/esm/generated/models/BlsCredentials.d.ts +6 -0
- package/esm/generated/models/CompletedValidatorDetails.d.ts +5 -0
- package/esm/generated/models/PChainTransaction.d.ts +5 -0
- package/esm/generated/models/PendingValidatorDetails.d.ts +6 -0
- package/esm/generated/models/RemovedValidatorDetails.d.ts +6 -0
- package/esm/index.d.ts +1 -0
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -2311,6 +2311,11 @@ type ListSubnetsResponse = {
|
|
|
2311
2311
|
subnets: Array<Subnet>;
|
|
2312
2312
|
};
|
|
2313
2313
|
|
|
2314
|
+
type BlsCredentials = {
|
|
2315
|
+
publicKey: string;
|
|
2316
|
+
proofOfPossession: string;
|
|
2317
|
+
};
|
|
2318
|
+
|
|
2314
2319
|
type Rewards = {
|
|
2315
2320
|
validationRewardAmount: string;
|
|
2316
2321
|
delegationRewardAmount: string;
|
|
@@ -2345,6 +2350,10 @@ type ActiveValidatorDetails = {
|
|
|
2345
2350
|
delegationFee?: string;
|
|
2346
2351
|
startTimestamp: number;
|
|
2347
2352
|
endTimestamp: number;
|
|
2353
|
+
/**
|
|
2354
|
+
* Present for AddPermissionlessValidatorTx
|
|
2355
|
+
*/
|
|
2356
|
+
blsCredentials?: BlsCredentials;
|
|
2348
2357
|
stakePercentage: number;
|
|
2349
2358
|
delegatorCount: number;
|
|
2350
2359
|
amountDelegated?: string;
|
|
@@ -2369,6 +2378,10 @@ type CompletedValidatorDetails = {
|
|
|
2369
2378
|
delegationFee?: string;
|
|
2370
2379
|
startTimestamp: number;
|
|
2371
2380
|
endTimestamp: number;
|
|
2381
|
+
/**
|
|
2382
|
+
* Present for AddPermissionlessValidatorTx
|
|
2383
|
+
*/
|
|
2384
|
+
blsCredentials?: BlsCredentials;
|
|
2372
2385
|
delegatorCount: number;
|
|
2373
2386
|
rewards: Rewards;
|
|
2374
2387
|
validationStatus: CompletedValidatorDetails.validationStatus;
|
|
@@ -2387,6 +2400,10 @@ type PendingValidatorDetails = {
|
|
|
2387
2400
|
delegationFee?: string;
|
|
2388
2401
|
startTimestamp: number;
|
|
2389
2402
|
endTimestamp: number;
|
|
2403
|
+
/**
|
|
2404
|
+
* Present for AddPermissionlessValidatorTx
|
|
2405
|
+
*/
|
|
2406
|
+
blsCredentials?: BlsCredentials;
|
|
2390
2407
|
validationStatus: PendingValidatorDetails.validationStatus;
|
|
2391
2408
|
};
|
|
2392
2409
|
declare namespace PendingValidatorDetails {
|
|
@@ -2403,6 +2420,10 @@ type RemovedValidatorDetails = {
|
|
|
2403
2420
|
delegationFee?: string;
|
|
2404
2421
|
startTimestamp: number;
|
|
2405
2422
|
endTimestamp: number;
|
|
2423
|
+
/**
|
|
2424
|
+
* Present for AddPermissionlessValidatorTx
|
|
2425
|
+
*/
|
|
2426
|
+
blsCredentials?: BlsCredentials;
|
|
2406
2427
|
removeTxHash: string;
|
|
2407
2428
|
removeTimestamp: number;
|
|
2408
2429
|
validationStatus: RemovedValidatorDetails.validationStatus;
|
|
@@ -3621,6 +3642,10 @@ type PChainTransaction = {
|
|
|
3621
3642
|
* Subnet owner details for the CreateSubnetTx or TransferSubnetOwnershipTx
|
|
3622
3643
|
*/
|
|
3623
3644
|
subnetOwnershipInfo?: SubnetOwnershipInfo;
|
|
3645
|
+
/**
|
|
3646
|
+
* Present for AddPermissionlessValidatorTx
|
|
3647
|
+
*/
|
|
3648
|
+
blsCredentials?: BlsCredentials;
|
|
3624
3649
|
};
|
|
3625
3650
|
|
|
3626
3651
|
type ListPChainTransactionsResponse = {
|
|
@@ -4636,4 +4661,4 @@ type NextPageToken = {
|
|
|
4636
4661
|
nextPageToken?: string;
|
|
4637
4662
|
};
|
|
4638
4663
|
|
|
4639
|
-
export { ActiveDelegatorDetails, ActiveValidatorDetails, AddressActivityMetadata, AddressesChangeRequest, AggregatedAssetAmount, ApiError, AssetAmount, AssetWithPriceInfo, BaseHttpRequest, Blockchain, BlockchainId, BlockchainIds, BlockchainInfo, CChainAtomicBalances, CChainExportTransaction, CChainImportTransaction, CChainSharedAssetBalance, CancelError, CancelablePromise, ChainAddressChainIdMap, ChainAddressChainIdMapListResponse, ChainInfo, ChainStatus, CompletedDelegatorDetails, CompletedValidatorDetails, ContractDeploymentDetails, ContractSubmissionBody, ContractSubmissionErc1155, ContractSubmissionErc20, ContractSubmissionErc721, ContractSubmissionUnknown, CreateEvmTransactionExportRequest, CreatePrimaryNetworkTransactionExportRequest, CurrencyCode, 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, FullNativeTransactionDetails, GetChainResponse, GetEvmBlockResponse, GetNativeBalanceResponse, GetNetworkDetailsResponse, GetPrimaryNetworkBlockResponse, GetTransactionResponse, Glacier, GlacierApiFeature, HealthCheckService, HistoricalReward, ImageAsset, 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, Method, Money, NativeTokenBalance, NativeTransaction, Network, NetworkToken, NetworkTokenDetails, NetworkType, NextPageToken, NfTsService, NftTokenMetadataStatus, 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, RegisterWebhookRequest, RemovedValidatorDetails, ResourceLink, ResourceLinkType, RewardType, Rewards, RichAddress, RpcErrorDto, RpcErrorResponseDto, RpcRequestBodyDto, RpcService, RpcSuccessResponseDto, SharedSecretsResponse, SortByOption, SortOrder, StakingDistribution, Subnet, SubnetOwnershipInfo, TeleporterDestinationTransaction, TeleporterReceipt, TeleporterRewardDetails, TeleporterService, TeleporterSourceTransaction, TransactionDetails, TransactionExportMetadata, TransactionMethodType, TransactionStatus, TransactionVertexDetail, UnknownContract, UpdateContractResponse, UpdateWebhookRequest, UtilityAddresses, Utxo, UtxoCredential, UtxoType, ValidationStatusType, ValidatorHealthDetails, ValidatorsDetails, VmName, WebhookResponse, WebhookStatus, WebhookStatusType, WebhooksService, XChainAssetDetails, XChainBalances, XChainId, XChainLinearTransaction, XChainNonLinearTransaction, XChainSharedAssetBalance, XChainTransactionType, XChainVertex };
|
|
4664
|
+
export { ActiveDelegatorDetails, ActiveValidatorDetails, AddressActivityMetadata, AddressesChangeRequest, AggregatedAssetAmount, ApiError, AssetAmount, AssetWithPriceInfo, 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, CurrencyCode, 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, FullNativeTransactionDetails, GetChainResponse, GetEvmBlockResponse, GetNativeBalanceResponse, GetNetworkDetailsResponse, GetPrimaryNetworkBlockResponse, GetTransactionResponse, Glacier, GlacierApiFeature, HealthCheckService, HistoricalReward, ImageAsset, 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, Method, Money, NativeTokenBalance, NativeTransaction, Network, NetworkToken, NetworkTokenDetails, NetworkType, NextPageToken, NfTsService, NftTokenMetadataStatus, 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, RegisterWebhookRequest, RemovedValidatorDetails, ResourceLink, ResourceLinkType, RewardType, Rewards, RichAddress, RpcErrorDto, RpcErrorResponseDto, RpcRequestBodyDto, RpcService, RpcSuccessResponseDto, SharedSecretsResponse, SortByOption, SortOrder, StakingDistribution, Subnet, SubnetOwnershipInfo, TeleporterDestinationTransaction, TeleporterReceipt, TeleporterRewardDetails, TeleporterService, TeleporterSourceTransaction, TransactionDetails, TransactionExportMetadata, TransactionMethodType, TransactionStatus, TransactionVertexDetail, UnknownContract, UpdateContractResponse, UpdateWebhookRequest, UtilityAddresses, Utxo, UtxoCredential, UtxoType, ValidationStatusType, ValidatorHealthDetails, ValidatorsDetails, VmName, WebhookResponse, WebhookStatus, WebhookStatusType, WebhooksService, XChainAssetDetails, XChainBalances, XChainId, XChainLinearTransaction, XChainNonLinearTransaction, XChainSharedAssetBalance, XChainTransactionType, XChainVertex };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { BlsCredentials } from './BlsCredentials.js';
|
|
1
2
|
import { Rewards } from './Rewards.js';
|
|
2
3
|
import { ValidatorHealthDetails } from './ValidatorHealthDetails.js';
|
|
3
4
|
|
|
@@ -9,6 +10,10 @@ type ActiveValidatorDetails = {
|
|
|
9
10
|
delegationFee?: string;
|
|
10
11
|
startTimestamp: number;
|
|
11
12
|
endTimestamp: number;
|
|
13
|
+
/**
|
|
14
|
+
* Present for AddPermissionlessValidatorTx
|
|
15
|
+
*/
|
|
16
|
+
blsCredentials?: BlsCredentials;
|
|
12
17
|
stakePercentage: number;
|
|
13
18
|
delegatorCount: number;
|
|
14
19
|
amountDelegated?: string;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { BlsCredentials } from './BlsCredentials.js';
|
|
1
2
|
import { Rewards } from './Rewards.js';
|
|
2
3
|
|
|
3
4
|
type CompletedValidatorDetails = {
|
|
@@ -8,6 +9,10 @@ type CompletedValidatorDetails = {
|
|
|
8
9
|
delegationFee?: string;
|
|
9
10
|
startTimestamp: number;
|
|
10
11
|
endTimestamp: number;
|
|
12
|
+
/**
|
|
13
|
+
* Present for AddPermissionlessValidatorTx
|
|
14
|
+
*/
|
|
15
|
+
blsCredentials?: BlsCredentials;
|
|
11
16
|
delegatorCount: number;
|
|
12
17
|
rewards: Rewards;
|
|
13
18
|
validationStatus: CompletedValidatorDetails.validationStatus;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AssetAmount } from './AssetAmount.js';
|
|
2
|
+
import { BlsCredentials } from './BlsCredentials.js';
|
|
2
3
|
import { PChainTransactionType } from './PChainTransactionType.js';
|
|
3
4
|
import { PChainUtxo } from './PChainUtxo.js';
|
|
4
5
|
import { SubnetOwnershipInfo } from './SubnetOwnershipInfo.js';
|
|
@@ -72,6 +73,10 @@ type PChainTransaction = {
|
|
|
72
73
|
* Subnet owner details for the CreateSubnetTx or TransferSubnetOwnershipTx
|
|
73
74
|
*/
|
|
74
75
|
subnetOwnershipInfo?: SubnetOwnershipInfo;
|
|
76
|
+
/**
|
|
77
|
+
* Present for AddPermissionlessValidatorTx
|
|
78
|
+
*/
|
|
79
|
+
blsCredentials?: BlsCredentials;
|
|
75
80
|
};
|
|
76
81
|
|
|
77
82
|
export { PChainTransaction };
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { BlsCredentials } from './BlsCredentials.js';
|
|
2
|
+
|
|
1
3
|
type PendingValidatorDetails = {
|
|
2
4
|
txHash: string;
|
|
3
5
|
nodeId: string;
|
|
@@ -6,6 +8,10 @@ type PendingValidatorDetails = {
|
|
|
6
8
|
delegationFee?: string;
|
|
7
9
|
startTimestamp: number;
|
|
8
10
|
endTimestamp: number;
|
|
11
|
+
/**
|
|
12
|
+
* Present for AddPermissionlessValidatorTx
|
|
13
|
+
*/
|
|
14
|
+
blsCredentials?: BlsCredentials;
|
|
9
15
|
validationStatus: PendingValidatorDetails.validationStatus;
|
|
10
16
|
};
|
|
11
17
|
declare namespace PendingValidatorDetails {
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { BlsCredentials } from './BlsCredentials.js';
|
|
2
|
+
|
|
1
3
|
type RemovedValidatorDetails = {
|
|
2
4
|
txHash: string;
|
|
3
5
|
nodeId: string;
|
|
@@ -6,6 +8,10 @@ type RemovedValidatorDetails = {
|
|
|
6
8
|
delegationFee?: string;
|
|
7
9
|
startTimestamp: number;
|
|
8
10
|
endTimestamp: number;
|
|
11
|
+
/**
|
|
12
|
+
* Present for AddPermissionlessValidatorTx
|
|
13
|
+
*/
|
|
14
|
+
blsCredentials?: BlsCredentials;
|
|
9
15
|
removeTxHash: string;
|
|
10
16
|
removeTimestamp: number;
|
|
11
17
|
validationStatus: RemovedValidatorDetails.validationStatus;
|
package/esm/index.d.ts
CHANGED
|
@@ -14,6 +14,7 @@ export { Blockchain } from './generated/models/Blockchain.js';
|
|
|
14
14
|
export { BlockchainId } from './generated/models/BlockchainId.js';
|
|
15
15
|
export { BlockchainIds } from './generated/models/BlockchainIds.js';
|
|
16
16
|
export { BlockchainInfo } from './generated/models/BlockchainInfo.js';
|
|
17
|
+
export { BlsCredentials } from './generated/models/BlsCredentials.js';
|
|
17
18
|
export { CChainAtomicBalances } from './generated/models/CChainAtomicBalances.js';
|
|
18
19
|
export { CChainExportTransaction } from './generated/models/CChainExportTransaction.js';
|
|
19
20
|
export { CChainImportTransaction } from './generated/models/CChainImportTransaction.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.189",
|
|
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",
|
|
@@ -29,5 +29,5 @@
|
|
|
29
29
|
"bugs": {
|
|
30
30
|
"url": "https://github.com/ava-labs/avalanche-sdks/issues"
|
|
31
31
|
},
|
|
32
|
-
"gitHead": "
|
|
32
|
+
"gitHead": "1ee925058d794bf05903089d3bc3eb6697b9e44d"
|
|
33
33
|
}
|