@avalabs/glacier-sdk 2.8.0-canary.736c05a.0 → 2.8.0-canary.7b2e02f.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
@@ -2464,6 +2464,24 @@ declare namespace PendingValidatorDetails {
2464
2464
  }
2465
2465
  }
2466
2466
 
2467
+ type RemovedValidatorDetails = {
2468
+ txHash: string;
2469
+ nodeId: string;
2470
+ subnetId: string;
2471
+ amountStaked: string;
2472
+ delegationFee?: string;
2473
+ startTimestamp: number;
2474
+ endTimestamp: number;
2475
+ removeTxHash: string;
2476
+ removeTimestamp: number;
2477
+ validationStatus: RemovedValidatorDetails.validationStatus;
2478
+ };
2479
+ declare namespace RemovedValidatorDetails {
2480
+ enum validationStatus {
2481
+ REMOVED = "removed"
2482
+ }
2483
+ }
2484
+
2467
2485
  type ListValidatorDetailsResponse = {
2468
2486
  /**
2469
2487
  * A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages.
@@ -2472,7 +2490,7 @@ type ListValidatorDetailsResponse = {
2472
2490
  /**
2473
2491
  * The list of validator Details.
2474
2492
  */
2475
- validators: Array<(CompletedValidatorDetails | ActiveValidatorDetails | PendingValidatorDetails)>;
2493
+ validators: Array<(CompletedValidatorDetails | ActiveValidatorDetails | PendingValidatorDetails | RemovedValidatorDetails)>;
2476
2494
  };
2477
2495
 
2478
2496
  declare enum Network {
@@ -2483,7 +2501,8 @@ declare enum Network {
2483
2501
  declare enum ValidationStatusType {
2484
2502
  COMPLETED = "completed",
2485
2503
  ACTIVE = "active",
2486
- PENDING = "pending"
2504
+ PENDING = "pending",
2505
+ REMOVED = "removed"
2487
2506
  }
2488
2507
 
2489
2508
  type XChainAssetDetails = {
@@ -4128,6 +4147,179 @@ declare class PrimaryNetworkVerticesService {
4128
4147
  }): CancelablePromise<ListXChainVerticesResponse>;
4129
4148
  }
4130
4149
 
4150
+ type TeleporterDestinationTransaction = {
4151
+ txHash: string;
4152
+ timestamp: number;
4153
+ gasSpent: string;
4154
+ rewardRedeemer: string;
4155
+ delivererAddress: string;
4156
+ };
4157
+
4158
+ type TeleporterRewardDetails = {
4159
+ /**
4160
+ * A wallet or contract address in mixed-case checksum encoding.
4161
+ */
4162
+ address: string;
4163
+ /**
4164
+ * The contract name.
4165
+ */
4166
+ name: string;
4167
+ /**
4168
+ * The contract symbol.
4169
+ */
4170
+ symbol: string;
4171
+ /**
4172
+ * The number of decimals the token uses. For example `6`, means to divide the token amount by `1000000` to get its user representation.
4173
+ */
4174
+ decimals: number;
4175
+ /**
4176
+ * The logo uri for the address.
4177
+ */
4178
+ logoUri?: string;
4179
+ ercType: TeleporterRewardDetails.ercType;
4180
+ /**
4181
+ * The token price, if available.
4182
+ */
4183
+ price?: Money;
4184
+ value: string;
4185
+ };
4186
+ declare namespace TeleporterRewardDetails {
4187
+ enum ercType {
4188
+ ERC_20 = "ERC-20"
4189
+ }
4190
+ }
4191
+
4192
+ type DeliveredSourceNotIndexedTeleporterMessage = {
4193
+ sourceBlockchainId: string;
4194
+ destinationBlockchainId: string;
4195
+ messageId: string;
4196
+ from: string;
4197
+ to: string;
4198
+ data?: string;
4199
+ messageExecuted: boolean;
4200
+ receipts: Array<string>;
4201
+ receiptDelivered: boolean;
4202
+ rewardDetails: TeleporterRewardDetails;
4203
+ destinationTransaction: TeleporterDestinationTransaction;
4204
+ status: DeliveredSourceNotIndexedTeleporterMessage.status;
4205
+ };
4206
+ declare namespace DeliveredSourceNotIndexedTeleporterMessage {
4207
+ enum status {
4208
+ DELIVERED_SOURCE_NOT_INDEXED = "delivered_source_not_indexed"
4209
+ }
4210
+ }
4211
+
4212
+ type TeleporterSourceTransaction = {
4213
+ txHash: string;
4214
+ timestamp: number;
4215
+ gasSpent: string;
4216
+ };
4217
+
4218
+ type DeliveredTeleporterMessage = {
4219
+ sourceBlockchainId: string;
4220
+ destinationBlockchainId: string;
4221
+ messageId: string;
4222
+ from: string;
4223
+ to: string;
4224
+ data?: string;
4225
+ messageExecuted: boolean;
4226
+ receipts: Array<string>;
4227
+ receiptDelivered: boolean;
4228
+ rewardDetails: TeleporterRewardDetails;
4229
+ sourceTransaction: TeleporterSourceTransaction;
4230
+ destinationTransaction: TeleporterDestinationTransaction;
4231
+ status: DeliveredTeleporterMessage.status;
4232
+ };
4233
+ declare namespace DeliveredTeleporterMessage {
4234
+ enum status {
4235
+ DELIVERED = "delivered"
4236
+ }
4237
+ }
4238
+
4239
+ type NextPageToken = {
4240
+ /**
4241
+ * A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages.
4242
+ */
4243
+ nextPageToken?: string;
4244
+ };
4245
+
4246
+ type PendingTeleporterMessage = {
4247
+ sourceBlockchainId: string;
4248
+ destinationBlockchainId: string;
4249
+ messageId: string;
4250
+ from: string;
4251
+ to: string;
4252
+ data?: string;
4253
+ messageExecuted: boolean;
4254
+ receipts: Array<string>;
4255
+ receiptDelivered: boolean;
4256
+ rewardDetails: TeleporterRewardDetails;
4257
+ sourceTransaction: TeleporterSourceTransaction;
4258
+ status: PendingTeleporterMessage.status;
4259
+ };
4260
+ declare namespace PendingTeleporterMessage {
4261
+ enum status {
4262
+ PENDING = "pending"
4263
+ }
4264
+ }
4265
+
4266
+ declare class TeleporterService {
4267
+ readonly httpRequest: BaseHttpRequest;
4268
+ constructor(httpRequest: BaseHttpRequest);
4269
+ /**
4270
+ * Get a teleporter message
4271
+ * Gets a teleporter message by source chain, destination chain, and message ID.
4272
+ * @returns any
4273
+ * @throws ApiError
4274
+ */
4275
+ getTeleporterMessage({ sourceBlockchainId, destinationBlockchainId, messageId, }: {
4276
+ /**
4277
+ * The base58 encoded blockchain ID of the source chain that the teleporter message was sent from.
4278
+ */
4279
+ sourceBlockchainId: any;
4280
+ /**
4281
+ * The base58 encoded blockchain ID of the destination chain that the teleporter message was sent to.
4282
+ */
4283
+ destinationBlockchainId: any;
4284
+ /**
4285
+ * The message ID of the teleporter message.
4286
+ */
4287
+ messageId: any;
4288
+ }): CancelablePromise<(PendingTeleporterMessage | DeliveredTeleporterMessage | DeliveredSourceNotIndexedTeleporterMessage)>;
4289
+ /**
4290
+ * List teleporter messages
4291
+ * Lists teleporter messages. Ordered by timestamp in descending order.
4292
+ * @returns any
4293
+ * @throws ApiError
4294
+ */
4295
+ listTeleporterMessages({ pageSize, pageToken, sourceBlockchainId, destinationBlockchainId, to, from, }: {
4296
+ /**
4297
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
4298
+ */
4299
+ pageSize?: number;
4300
+ /**
4301
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
4302
+ */
4303
+ pageToken?: string;
4304
+ /**
4305
+ * The base58 encoded blockchain ID of the source chain that the teleporter message was sent from.
4306
+ */
4307
+ sourceBlockchainId?: any;
4308
+ /**
4309
+ * The base58 encoded blockchain ID of the destination chain that the teleporter message was sent to.
4310
+ */
4311
+ destinationBlockchainId?: any;
4312
+ /**
4313
+ * The address of the recipient of the teleporter message.
4314
+ */
4315
+ to?: any;
4316
+ /**
4317
+ * The address of the sender of the teleporter message.
4318
+ */
4319
+ from?: any;
4320
+ }): CancelablePromise<NextPageToken>;
4321
+ }
4322
+
4131
4323
  type HttpRequestConstructor = new (config: OpenAPIConfig) => BaseHttpRequest;
4132
4324
  declare class Glacier {
4133
4325
  readonly default: DefaultService;
@@ -4146,6 +4338,7 @@ declare class Glacier {
4146
4338
  readonly primaryNetworkTransactions: PrimaryNetworkTransactionsService;
4147
4339
  readonly primaryNetworkUtxOs: PrimaryNetworkUtxOsService;
4148
4340
  readonly primaryNetworkVertices: PrimaryNetworkVerticesService;
4341
+ readonly teleporter: TeleporterService;
4149
4342
  readonly request: BaseHttpRequest;
4150
4343
  constructor(config?: Partial<OpenAPIConfig>, HttpRequest?: HttpRequestConstructor);
4151
4344
  }
@@ -4167,4 +4360,4 @@ declare class ApiError extends Error {
4167
4360
  constructor(request: ApiRequestOptions, response: ApiResult, message: string);
4168
4361
  }
4169
4362
 
4170
- export { ActiveDelegatorDetails, ActiveValidatorDetails, AddressActivityMetadata, ApiError, Asset, 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, EVMInput, 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, 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, ListTransactionDetailsResponse, ListTransfersResponse, ListUtxosResponse, ListValidatorDetailsResponse, ListWebhooksResponse, ListXChainBalancesResponse, ListXChainTransactionsResponse, ListXChainVerticesResponse, Method, Money, NativeTokenBalance, NativeTransaction, Network, NetworkToken, NetworkTokenDetails, NetworkType, NfTsService, NftTokenMetadataStatus, OpenAPI, OpenAPIConfig, OperationStatus, OperationStatusCode, OperationStatusResponse, OperationType, OperationsService, PChainBalance, PChainId, PChainSharedAsset, PChainTransaction, PChainTransactionType, PChainUtxo, PendingDelegatorDetails, PendingReward, PendingValidatorDetails, PricingProviders, PrimaryNetwork, PrimaryNetworkBalancesService, PrimaryNetworkBlock, PrimaryNetworkBlocksService, PrimaryNetworkChainInfo, PrimaryNetworkChainName, PrimaryNetworkOptions, PrimaryNetworkRewardsService, PrimaryNetworkService, PrimaryNetworkTransactionsService, PrimaryNetworkTxType, PrimaryNetworkUtxOsService, PrimaryNetworkVerticesService, ProposerDetails, RegisterWebhookRequest, ResourceLink, ResourceLinkType, RewardType, Rewards, RichAddress, SharedSecretsResponse, SortOrder, StakingDistribution, Subnet, TransactionDetails, TransactionExportMetadata, TransactionMethodType, TransactionStatus, TransactionVertexDetail, UnknownContract, UpdateContractResponse, UtilityAddresses, Utxo, UtxoCredential, UtxoType, ValidationStatusType, ValidatorHealthDetails, ValidatorsDetails, VmName, WebhookResponse, WebhookStatus, WebhookStatusType, XChainAssetBalance, XChainAssetDetails, XChainBalances, XChainId, XChainLinearTransaction, XChainNonLinearTransaction, XChainSharedAssetBalance, XChainTransactionType, XChainVertex };
4363
+ export { ActiveDelegatorDetails, ActiveValidatorDetails, AddressActivityMetadata, ApiError, Asset, 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, 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, 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, ListTransactionDetailsResponse, ListTransfersResponse, ListUtxosResponse, ListValidatorDetailsResponse, 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, PrimaryNetworkBalancesService, PrimaryNetworkBlock, PrimaryNetworkBlocksService, PrimaryNetworkChainInfo, PrimaryNetworkChainName, PrimaryNetworkOptions, PrimaryNetworkRewardsService, PrimaryNetworkService, PrimaryNetworkTransactionsService, PrimaryNetworkTxType, PrimaryNetworkUtxOsService, PrimaryNetworkVerticesService, ProposerDetails, RegisterWebhookRequest, RemovedValidatorDetails, ResourceLink, ResourceLinkType, RewardType, Rewards, RichAddress, SharedSecretsResponse, SortOrder, StakingDistribution, Subnet, TeleporterDestinationTransaction, TeleporterRewardDetails, TeleporterService, TeleporterSourceTransaction, TransactionDetails, TransactionExportMetadata, TransactionMethodType, TransactionStatus, TransactionVertexDetail, UnknownContract, UpdateContractResponse, UtilityAddresses, Utxo, UtxoCredential, UtxoType, ValidationStatusType, ValidatorHealthDetails, ValidatorsDetails, VmName, WebhookResponse, WebhookStatus, WebhookStatusType, XChainAssetBalance, XChainAssetDetails, XChainBalances, XChainId, XChainLinearTransaction, XChainNonLinearTransaction, XChainSharedAssetBalance, XChainTransactionType, XChainVertex };
package/dist/index.js CHANGED
@@ -1470,6 +1470,48 @@ class PrimaryNetworkVerticesService {
1470
1470
  }
1471
1471
  }
1472
1472
 
1473
+ class TeleporterService {
1474
+ constructor(httpRequest) {
1475
+ this.httpRequest = httpRequest;
1476
+ }
1477
+ getTeleporterMessage({
1478
+ sourceBlockchainId,
1479
+ destinationBlockchainId,
1480
+ messageId
1481
+ }) {
1482
+ return this.httpRequest.request({
1483
+ method: "GET",
1484
+ url: "/v1/teleporter/messages:getMessage",
1485
+ query: {
1486
+ "sourceBlockchainId": sourceBlockchainId,
1487
+ "destinationBlockchainId": destinationBlockchainId,
1488
+ "messageId": messageId
1489
+ }
1490
+ });
1491
+ }
1492
+ listTeleporterMessages({
1493
+ pageSize = 10,
1494
+ pageToken,
1495
+ sourceBlockchainId,
1496
+ destinationBlockchainId,
1497
+ to,
1498
+ from
1499
+ }) {
1500
+ return this.httpRequest.request({
1501
+ method: "GET",
1502
+ url: "/v1/teleporter/messages",
1503
+ query: {
1504
+ "pageSize": pageSize,
1505
+ "pageToken": pageToken,
1506
+ "sourceBlockchainId": sourceBlockchainId,
1507
+ "destinationBlockchainId": destinationBlockchainId,
1508
+ "to": to,
1509
+ "from": from
1510
+ }
1511
+ });
1512
+ }
1513
+ }
1514
+
1473
1515
  class Glacier {
1474
1516
  default;
1475
1517
  evmBalances;
@@ -1487,6 +1529,7 @@ class Glacier {
1487
1529
  primaryNetworkTransactions;
1488
1530
  primaryNetworkUtxOs;
1489
1531
  primaryNetworkVertices;
1532
+ teleporter;
1490
1533
  request;
1491
1534
  constructor(config, HttpRequest = FetchHttpRequest) {
1492
1535
  this.request = new HttpRequest({
@@ -1516,6 +1559,7 @@ class Glacier {
1516
1559
  this.primaryNetworkTransactions = new PrimaryNetworkTransactionsService(this.request);
1517
1560
  this.primaryNetworkUtxOs = new PrimaryNetworkUtxOsService(this.request);
1518
1561
  this.primaryNetworkVertices = new PrimaryNetworkVerticesService(this.request);
1562
+ this.teleporter = new TeleporterService(this.request);
1519
1563
  }
1520
1564
  }
1521
1565
 
@@ -1667,6 +1711,20 @@ var DelegationStatusType = /* @__PURE__ */ ((DelegationStatusType2) => {
1667
1711
  return DelegationStatusType2;
1668
1712
  })(DelegationStatusType || {});
1669
1713
 
1714
+ exports.DeliveredSourceNotIndexedTeleporterMessage = void 0;
1715
+ ((DeliveredSourceNotIndexedTeleporterMessage2) => {
1716
+ ((status2) => {
1717
+ status2["DELIVERED_SOURCE_NOT_INDEXED"] = "delivered_source_not_indexed";
1718
+ })(DeliveredSourceNotIndexedTeleporterMessage2.status || (DeliveredSourceNotIndexedTeleporterMessage2.status = {}));
1719
+ })(exports.DeliveredSourceNotIndexedTeleporterMessage || (exports.DeliveredSourceNotIndexedTeleporterMessage = {}));
1720
+
1721
+ exports.DeliveredTeleporterMessage = void 0;
1722
+ ((DeliveredTeleporterMessage2) => {
1723
+ ((status2) => {
1724
+ status2["DELIVERED"] = "delivered";
1725
+ })(DeliveredTeleporterMessage2.status || (DeliveredTeleporterMessage2.status = {}));
1726
+ })(exports.DeliveredTeleporterMessage || (exports.DeliveredTeleporterMessage = {}));
1727
+
1670
1728
  exports.Erc1155Contract = void 0;
1671
1729
  ((Erc1155Contract2) => {
1672
1730
  ((ercType2) => {
@@ -1825,6 +1883,13 @@ exports.PendingDelegatorDetails = void 0;
1825
1883
  })(PendingDelegatorDetails2.delegationStatus || (PendingDelegatorDetails2.delegationStatus = {}));
1826
1884
  })(exports.PendingDelegatorDetails || (exports.PendingDelegatorDetails = {}));
1827
1885
 
1886
+ exports.PendingTeleporterMessage = void 0;
1887
+ ((PendingTeleporterMessage2) => {
1888
+ ((status2) => {
1889
+ status2["PENDING"] = "pending";
1890
+ })(PendingTeleporterMessage2.status || (PendingTeleporterMessage2.status = {}));
1891
+ })(exports.PendingTeleporterMessage || (exports.PendingTeleporterMessage = {}));
1892
+
1828
1893
  exports.PendingValidatorDetails = void 0;
1829
1894
  ((PendingValidatorDetails2) => {
1830
1895
  ((validationStatus2) => {
@@ -1866,6 +1931,13 @@ var PrimaryNetworkTxType = /* @__PURE__ */ ((PrimaryNetworkTxType2) => {
1866
1931
  return PrimaryNetworkTxType2;
1867
1932
  })(PrimaryNetworkTxType || {});
1868
1933
 
1934
+ exports.RemovedValidatorDetails = void 0;
1935
+ ((RemovedValidatorDetails2) => {
1936
+ ((validationStatus2) => {
1937
+ validationStatus2["REMOVED"] = "removed";
1938
+ })(RemovedValidatorDetails2.validationStatus || (RemovedValidatorDetails2.validationStatus = {}));
1939
+ })(exports.RemovedValidatorDetails || (exports.RemovedValidatorDetails = {}));
1940
+
1869
1941
  var ResourceLinkType = /* @__PURE__ */ ((ResourceLinkType2) => {
1870
1942
  ResourceLinkType2["BLOG"] = "Blog";
1871
1943
  ResourceLinkType2["COIN_GECKO"] = "CoinGecko";
@@ -1901,6 +1973,13 @@ var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
1901
1973
  return SortOrder2;
1902
1974
  })(SortOrder || {});
1903
1975
 
1976
+ exports.TeleporterRewardDetails = void 0;
1977
+ ((TeleporterRewardDetails2) => {
1978
+ ((ercType2) => {
1979
+ ercType2["ERC_20"] = "ERC-20";
1980
+ })(TeleporterRewardDetails2.ercType || (TeleporterRewardDetails2.ercType = {}));
1981
+ })(exports.TeleporterRewardDetails || (exports.TeleporterRewardDetails = {}));
1982
+
1904
1983
  var TransactionMethodType = /* @__PURE__ */ ((TransactionMethodType2) => {
1905
1984
  TransactionMethodType2["NATIVE_TRANSFER"] = "NATIVE_TRANSFER";
1906
1985
  TransactionMethodType2["CONTRACT_CALL"] = "CONTRACT_CALL";
@@ -1931,6 +2010,7 @@ var ValidationStatusType = /* @__PURE__ */ ((ValidationStatusType2) => {
1931
2010
  ValidationStatusType2["COMPLETED"] = "completed";
1932
2011
  ValidationStatusType2["ACTIVE"] = "active";
1933
2012
  ValidationStatusType2["PENDING"] = "pending";
2013
+ ValidationStatusType2["REMOVED"] = "removed";
1934
2014
  return ValidationStatusType2;
1935
2015
  })(ValidationStatusType || {});
1936
2016
 
@@ -2029,6 +2109,7 @@ exports.PrimaryNetworkVerticesService = PrimaryNetworkVerticesService;
2029
2109
  exports.ResourceLinkType = ResourceLinkType;
2030
2110
  exports.RewardType = RewardType;
2031
2111
  exports.SortOrder = SortOrder;
2112
+ exports.TeleporterService = TeleporterService;
2032
2113
  exports.TransactionMethodType = TransactionMethodType;
2033
2114
  exports.TransactionStatus = TransactionStatus;
2034
2115
  exports.UtxoType = UtxoType;
@@ -16,6 +16,7 @@ import { PrimaryNetworkRewardsService } from './services/PrimaryNetworkRewardsSe
16
16
  import { PrimaryNetworkTransactionsService } from './services/PrimaryNetworkTransactionsService.js';
17
17
  import { PrimaryNetworkUtxOsService } from './services/PrimaryNetworkUtxOsService.js';
18
18
  import { PrimaryNetworkVerticesService } from './services/PrimaryNetworkVerticesService.js';
19
+ import { TeleporterService } from './services/TeleporterService.js';
19
20
 
20
21
  type HttpRequestConstructor = new (config: OpenAPIConfig) => BaseHttpRequest;
21
22
  declare class Glacier {
@@ -35,6 +36,7 @@ declare class Glacier {
35
36
  readonly primaryNetworkTransactions: PrimaryNetworkTransactionsService;
36
37
  readonly primaryNetworkUtxOs: PrimaryNetworkUtxOsService;
37
38
  readonly primaryNetworkVertices: PrimaryNetworkVerticesService;
39
+ readonly teleporter: TeleporterService;
38
40
  readonly request: BaseHttpRequest;
39
41
  constructor(config?: Partial<OpenAPIConfig>, HttpRequest?: HttpRequestConstructor);
40
42
  }
@@ -15,6 +15,7 @@ import { PrimaryNetworkRewardsService } from './services/PrimaryNetworkRewardsSe
15
15
  import { PrimaryNetworkTransactionsService } from './services/PrimaryNetworkTransactionsService.js';
16
16
  import { PrimaryNetworkUtxOsService } from './services/PrimaryNetworkUtxOsService.js';
17
17
  import { PrimaryNetworkVerticesService } from './services/PrimaryNetworkVerticesService.js';
18
+ import { TeleporterService } from './services/TeleporterService.js';
18
19
 
19
20
  class Glacier {
20
21
  default;
@@ -33,6 +34,7 @@ class Glacier {
33
34
  primaryNetworkTransactions;
34
35
  primaryNetworkUtxOs;
35
36
  primaryNetworkVertices;
37
+ teleporter;
36
38
  request;
37
39
  constructor(config, HttpRequest = FetchHttpRequest) {
38
40
  this.request = new HttpRequest({
@@ -62,6 +64,7 @@ class Glacier {
62
64
  this.primaryNetworkTransactions = new PrimaryNetworkTransactionsService(this.request);
63
65
  this.primaryNetworkUtxOs = new PrimaryNetworkUtxOsService(this.request);
64
66
  this.primaryNetworkVertices = new PrimaryNetworkVerticesService(this.request);
67
+ this.teleporter = new TeleporterService(this.request);
65
68
  }
66
69
  }
67
70
 
@@ -0,0 +1,24 @@
1
+ import { TeleporterDestinationTransaction } from './TeleporterDestinationTransaction.js';
2
+ import { TeleporterRewardDetails } from './TeleporterRewardDetails.js';
3
+
4
+ type DeliveredSourceNotIndexedTeleporterMessage = {
5
+ sourceBlockchainId: string;
6
+ destinationBlockchainId: string;
7
+ messageId: string;
8
+ from: string;
9
+ to: string;
10
+ data?: string;
11
+ messageExecuted: boolean;
12
+ receipts: Array<string>;
13
+ receiptDelivered: boolean;
14
+ rewardDetails: TeleporterRewardDetails;
15
+ destinationTransaction: TeleporterDestinationTransaction;
16
+ status: DeliveredSourceNotIndexedTeleporterMessage.status;
17
+ };
18
+ declare namespace DeliveredSourceNotIndexedTeleporterMessage {
19
+ enum status {
20
+ DELIVERED_SOURCE_NOT_INDEXED = "delivered_source_not_indexed"
21
+ }
22
+ }
23
+
24
+ export { DeliveredSourceNotIndexedTeleporterMessage };
@@ -0,0 +1,8 @@
1
+ var DeliveredSourceNotIndexedTeleporterMessage;
2
+ ((DeliveredSourceNotIndexedTeleporterMessage2) => {
3
+ ((status2) => {
4
+ status2["DELIVERED_SOURCE_NOT_INDEXED"] = "delivered_source_not_indexed";
5
+ })(DeliveredSourceNotIndexedTeleporterMessage2.status || (DeliveredSourceNotIndexedTeleporterMessage2.status = {}));
6
+ })(DeliveredSourceNotIndexedTeleporterMessage || (DeliveredSourceNotIndexedTeleporterMessage = {}));
7
+
8
+ export { DeliveredSourceNotIndexedTeleporterMessage };
@@ -0,0 +1,26 @@
1
+ import { TeleporterDestinationTransaction } from './TeleporterDestinationTransaction.js';
2
+ import { TeleporterRewardDetails } from './TeleporterRewardDetails.js';
3
+ import { TeleporterSourceTransaction } from './TeleporterSourceTransaction.js';
4
+
5
+ type DeliveredTeleporterMessage = {
6
+ sourceBlockchainId: string;
7
+ destinationBlockchainId: string;
8
+ messageId: string;
9
+ from: string;
10
+ to: string;
11
+ data?: string;
12
+ messageExecuted: boolean;
13
+ receipts: Array<string>;
14
+ receiptDelivered: boolean;
15
+ rewardDetails: TeleporterRewardDetails;
16
+ sourceTransaction: TeleporterSourceTransaction;
17
+ destinationTransaction: TeleporterDestinationTransaction;
18
+ status: DeliveredTeleporterMessage.status;
19
+ };
20
+ declare namespace DeliveredTeleporterMessage {
21
+ enum status {
22
+ DELIVERED = "delivered"
23
+ }
24
+ }
25
+
26
+ export { DeliveredTeleporterMessage };
@@ -0,0 +1,8 @@
1
+ var DeliveredTeleporterMessage;
2
+ ((DeliveredTeleporterMessage2) => {
3
+ ((status2) => {
4
+ status2["DELIVERED"] = "delivered";
5
+ })(DeliveredTeleporterMessage2.status || (DeliveredTeleporterMessage2.status = {}));
6
+ })(DeliveredTeleporterMessage || (DeliveredTeleporterMessage = {}));
7
+
8
+ export { DeliveredTeleporterMessage };
@@ -1,6 +1,7 @@
1
1
  import { ActiveValidatorDetails } from './ActiveValidatorDetails.js';
2
2
  import { CompletedValidatorDetails } from './CompletedValidatorDetails.js';
3
3
  import { PendingValidatorDetails } from './PendingValidatorDetails.js';
4
+ import { RemovedValidatorDetails } from './RemovedValidatorDetails.js';
4
5
 
5
6
  type ListValidatorDetailsResponse = {
6
7
  /**
@@ -10,7 +11,7 @@ type ListValidatorDetailsResponse = {
10
11
  /**
11
12
  * The list of validator Details.
12
13
  */
13
- validators: Array<(CompletedValidatorDetails | ActiveValidatorDetails | PendingValidatorDetails)>;
14
+ validators: Array<(CompletedValidatorDetails | ActiveValidatorDetails | PendingValidatorDetails | RemovedValidatorDetails)>;
14
15
  };
15
16
 
16
17
  export { ListValidatorDetailsResponse };
@@ -0,0 +1,8 @@
1
+ type NextPageToken = {
2
+ /**
3
+ * A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages.
4
+ */
5
+ nextPageToken?: string;
6
+ };
7
+
8
+ export { NextPageToken };
@@ -0,0 +1,24 @@
1
+ import { TeleporterRewardDetails } from './TeleporterRewardDetails.js';
2
+ import { TeleporterSourceTransaction } from './TeleporterSourceTransaction.js';
3
+
4
+ type PendingTeleporterMessage = {
5
+ sourceBlockchainId: string;
6
+ destinationBlockchainId: string;
7
+ messageId: string;
8
+ from: string;
9
+ to: string;
10
+ data?: string;
11
+ messageExecuted: boolean;
12
+ receipts: Array<string>;
13
+ receiptDelivered: boolean;
14
+ rewardDetails: TeleporterRewardDetails;
15
+ sourceTransaction: TeleporterSourceTransaction;
16
+ status: PendingTeleporterMessage.status;
17
+ };
18
+ declare namespace PendingTeleporterMessage {
19
+ enum status {
20
+ PENDING = "pending"
21
+ }
22
+ }
23
+
24
+ export { PendingTeleporterMessage };
@@ -0,0 +1,8 @@
1
+ var PendingTeleporterMessage;
2
+ ((PendingTeleporterMessage2) => {
3
+ ((status2) => {
4
+ status2["PENDING"] = "pending";
5
+ })(PendingTeleporterMessage2.status || (PendingTeleporterMessage2.status = {}));
6
+ })(PendingTeleporterMessage || (PendingTeleporterMessage = {}));
7
+
8
+ export { PendingTeleporterMessage };
@@ -0,0 +1,19 @@
1
+ type RemovedValidatorDetails = {
2
+ txHash: string;
3
+ nodeId: string;
4
+ subnetId: string;
5
+ amountStaked: string;
6
+ delegationFee?: string;
7
+ startTimestamp: number;
8
+ endTimestamp: number;
9
+ removeTxHash: string;
10
+ removeTimestamp: number;
11
+ validationStatus: RemovedValidatorDetails.validationStatus;
12
+ };
13
+ declare namespace RemovedValidatorDetails {
14
+ enum validationStatus {
15
+ REMOVED = "removed"
16
+ }
17
+ }
18
+
19
+ export { RemovedValidatorDetails };
@@ -0,0 +1,8 @@
1
+ var RemovedValidatorDetails;
2
+ ((RemovedValidatorDetails2) => {
3
+ ((validationStatus2) => {
4
+ validationStatus2["REMOVED"] = "removed";
5
+ })(RemovedValidatorDetails2.validationStatus || (RemovedValidatorDetails2.validationStatus = {}));
6
+ })(RemovedValidatorDetails || (RemovedValidatorDetails = {}));
7
+
8
+ export { RemovedValidatorDetails };
@@ -0,0 +1,9 @@
1
+ type TeleporterDestinationTransaction = {
2
+ txHash: string;
3
+ timestamp: number;
4
+ gasSpent: string;
5
+ rewardRedeemer: string;
6
+ delivererAddress: string;
7
+ };
8
+
9
+ export { TeleporterDestinationTransaction };
@@ -0,0 +1,37 @@
1
+ import { Money } from './Money.js';
2
+
3
+ type TeleporterRewardDetails = {
4
+ /**
5
+ * A wallet or contract address in mixed-case checksum encoding.
6
+ */
7
+ address: string;
8
+ /**
9
+ * The contract name.
10
+ */
11
+ name: string;
12
+ /**
13
+ * The contract symbol.
14
+ */
15
+ symbol: string;
16
+ /**
17
+ * The number of decimals the token uses. For example `6`, means to divide the token amount by `1000000` to get its user representation.
18
+ */
19
+ decimals: number;
20
+ /**
21
+ * The logo uri for the address.
22
+ */
23
+ logoUri?: string;
24
+ ercType: TeleporterRewardDetails.ercType;
25
+ /**
26
+ * The token price, if available.
27
+ */
28
+ price?: Money;
29
+ value: string;
30
+ };
31
+ declare namespace TeleporterRewardDetails {
32
+ enum ercType {
33
+ ERC_20 = "ERC-20"
34
+ }
35
+ }
36
+
37
+ export { TeleporterRewardDetails };
@@ -0,0 +1,8 @@
1
+ var TeleporterRewardDetails;
2
+ ((TeleporterRewardDetails2) => {
3
+ ((ercType2) => {
4
+ ercType2["ERC_20"] = "ERC-20";
5
+ })(TeleporterRewardDetails2.ercType || (TeleporterRewardDetails2.ercType = {}));
6
+ })(TeleporterRewardDetails || (TeleporterRewardDetails = {}));
7
+
8
+ export { TeleporterRewardDetails };
@@ -0,0 +1,7 @@
1
+ type TeleporterSourceTransaction = {
2
+ txHash: string;
3
+ timestamp: number;
4
+ gasSpent: string;
5
+ };
6
+
7
+ export { TeleporterSourceTransaction };
@@ -1,7 +1,8 @@
1
1
  declare enum ValidationStatusType {
2
2
  COMPLETED = "completed",
3
3
  ACTIVE = "active",
4
- PENDING = "pending"
4
+ PENDING = "pending",
5
+ REMOVED = "removed"
5
6
  }
6
7
 
7
8
  export { ValidationStatusType };
@@ -2,6 +2,7 @@ var ValidationStatusType = /* @__PURE__ */ ((ValidationStatusType2) => {
2
2
  ValidationStatusType2["COMPLETED"] = "completed";
3
3
  ValidationStatusType2["ACTIVE"] = "active";
4
4
  ValidationStatusType2["PENDING"] = "pending";
5
+ ValidationStatusType2["REMOVED"] = "removed";
5
6
  return ValidationStatusType2;
6
7
  })(ValidationStatusType || {});
7
8
 
@@ -0,0 +1,65 @@
1
+ import { DeliveredSourceNotIndexedTeleporterMessage } from '../models/DeliveredSourceNotIndexedTeleporterMessage.js';
2
+ import { DeliveredTeleporterMessage } from '../models/DeliveredTeleporterMessage.js';
3
+ import { NextPageToken } from '../models/NextPageToken.js';
4
+ import { PendingTeleporterMessage } from '../models/PendingTeleporterMessage.js';
5
+ import { CancelablePromise } from '../core/CancelablePromise.js';
6
+ import { BaseHttpRequest } from '../core/BaseHttpRequest.js';
7
+
8
+ declare class TeleporterService {
9
+ readonly httpRequest: BaseHttpRequest;
10
+ constructor(httpRequest: BaseHttpRequest);
11
+ /**
12
+ * Get a teleporter message
13
+ * Gets a teleporter message by source chain, destination chain, and message ID.
14
+ * @returns any
15
+ * @throws ApiError
16
+ */
17
+ getTeleporterMessage({ sourceBlockchainId, destinationBlockchainId, messageId, }: {
18
+ /**
19
+ * The base58 encoded blockchain ID of the source chain that the teleporter message was sent from.
20
+ */
21
+ sourceBlockchainId: any;
22
+ /**
23
+ * The base58 encoded blockchain ID of the destination chain that the teleporter message was sent to.
24
+ */
25
+ destinationBlockchainId: any;
26
+ /**
27
+ * The message ID of the teleporter message.
28
+ */
29
+ messageId: any;
30
+ }): CancelablePromise<(PendingTeleporterMessage | DeliveredTeleporterMessage | DeliveredSourceNotIndexedTeleporterMessage)>;
31
+ /**
32
+ * List teleporter messages
33
+ * Lists teleporter messages. Ordered by timestamp in descending order.
34
+ * @returns any
35
+ * @throws ApiError
36
+ */
37
+ listTeleporterMessages({ pageSize, pageToken, sourceBlockchainId, destinationBlockchainId, to, from, }: {
38
+ /**
39
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
40
+ */
41
+ pageSize?: number;
42
+ /**
43
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
44
+ */
45
+ pageToken?: string;
46
+ /**
47
+ * The base58 encoded blockchain ID of the source chain that the teleporter message was sent from.
48
+ */
49
+ sourceBlockchainId?: any;
50
+ /**
51
+ * The base58 encoded blockchain ID of the destination chain that the teleporter message was sent to.
52
+ */
53
+ destinationBlockchainId?: any;
54
+ /**
55
+ * The address of the recipient of the teleporter message.
56
+ */
57
+ to?: any;
58
+ /**
59
+ * The address of the sender of the teleporter message.
60
+ */
61
+ from?: any;
62
+ }): CancelablePromise<NextPageToken>;
63
+ }
64
+
65
+ export { TeleporterService };
@@ -0,0 +1,43 @@
1
+ class TeleporterService {
2
+ constructor(httpRequest) {
3
+ this.httpRequest = httpRequest;
4
+ }
5
+ getTeleporterMessage({
6
+ sourceBlockchainId,
7
+ destinationBlockchainId,
8
+ messageId
9
+ }) {
10
+ return this.httpRequest.request({
11
+ method: "GET",
12
+ url: "/v1/teleporter/messages:getMessage",
13
+ query: {
14
+ "sourceBlockchainId": sourceBlockchainId,
15
+ "destinationBlockchainId": destinationBlockchainId,
16
+ "messageId": messageId
17
+ }
18
+ });
19
+ }
20
+ listTeleporterMessages({
21
+ pageSize = 10,
22
+ pageToken,
23
+ sourceBlockchainId,
24
+ destinationBlockchainId,
25
+ to,
26
+ from
27
+ }) {
28
+ return this.httpRequest.request({
29
+ method: "GET",
30
+ url: "/v1/teleporter/messages",
31
+ query: {
32
+ "pageSize": pageSize,
33
+ "pageToken": pageToken,
34
+ "sourceBlockchainId": sourceBlockchainId,
35
+ "destinationBlockchainId": destinationBlockchainId,
36
+ "to": to,
37
+ "from": from
38
+ }
39
+ });
40
+ }
41
+ }
42
+
43
+ export { TeleporterService };
package/esm/index.d.ts CHANGED
@@ -32,6 +32,8 @@ export { CreatePrimaryNetworkTransactionExportRequest } from './generated/models
32
32
  export { CurrencyCode } from './generated/models/CurrencyCode.js';
33
33
  export { DelegationStatusType } from './generated/models/DelegationStatusType.js';
34
34
  export { DelegatorsDetails } from './generated/models/DelegatorsDetails.js';
35
+ export { DeliveredSourceNotIndexedTeleporterMessage } from './generated/models/DeliveredSourceNotIndexedTeleporterMessage.js';
36
+ export { DeliveredTeleporterMessage } from './generated/models/DeliveredTeleporterMessage.js';
35
37
  export { Erc1155Contract } from './generated/models/Erc1155Contract.js';
36
38
  export { Erc1155Token } from './generated/models/Erc1155Token.js';
37
39
  export { Erc1155TokenBalance } from './generated/models/Erc1155TokenBalance.js';
@@ -106,6 +108,7 @@ export { Network } from './generated/models/Network.js';
106
108
  export { NetworkToken } from './generated/models/NetworkToken.js';
107
109
  export { NetworkTokenDetails } from './generated/models/NetworkTokenDetails.js';
108
110
  export { NetworkType } from './generated/models/NetworkType.js';
111
+ export { NextPageToken } from './generated/models/NextPageToken.js';
109
112
  export { NftTokenMetadataStatus } from './generated/models/NftTokenMetadataStatus.js';
110
113
  export { OperationStatus } from './generated/models/OperationStatus.js';
111
114
  export { OperationStatusCode } from './generated/models/OperationStatusCode.js';
@@ -119,6 +122,7 @@ export { PChainTransactionType } from './generated/models/PChainTransactionType.
119
122
  export { PChainUtxo } from './generated/models/PChainUtxo.js';
120
123
  export { PendingDelegatorDetails } from './generated/models/PendingDelegatorDetails.js';
121
124
  export { PendingReward } from './generated/models/PendingReward.js';
125
+ export { PendingTeleporterMessage } from './generated/models/PendingTeleporterMessage.js';
122
126
  export { PendingValidatorDetails } from './generated/models/PendingValidatorDetails.js';
123
127
  export { PricingProviders } from './generated/models/PricingProviders.js';
124
128
  export { PrimaryNetwork } from './generated/models/PrimaryNetwork.js';
@@ -129,6 +133,7 @@ export { PrimaryNetworkOptions } from './generated/models/PrimaryNetworkOptions.
129
133
  export { PrimaryNetworkTxType } from './generated/models/PrimaryNetworkTxType.js';
130
134
  export { ProposerDetails } from './generated/models/ProposerDetails.js';
131
135
  export { RegisterWebhookRequest } from './generated/models/RegisterWebhookRequest.js';
136
+ export { RemovedValidatorDetails } from './generated/models/RemovedValidatorDetails.js';
132
137
  export { ResourceLink } from './generated/models/ResourceLink.js';
133
138
  export { ResourceLinkType } from './generated/models/ResourceLinkType.js';
134
139
  export { Rewards } from './generated/models/Rewards.js';
@@ -138,6 +143,9 @@ export { SharedSecretsResponse } from './generated/models/SharedSecretsResponse.
138
143
  export { SortOrder } from './generated/models/SortOrder.js';
139
144
  export { StakingDistribution } from './generated/models/StakingDistribution.js';
140
145
  export { Subnet } from './generated/models/Subnet.js';
146
+ export { TeleporterDestinationTransaction } from './generated/models/TeleporterDestinationTransaction.js';
147
+ export { TeleporterRewardDetails } from './generated/models/TeleporterRewardDetails.js';
148
+ export { TeleporterSourceTransaction } from './generated/models/TeleporterSourceTransaction.js';
141
149
  export { TransactionDetails } from './generated/models/TransactionDetails.js';
142
150
  export { TransactionExportMetadata } from './generated/models/TransactionExportMetadata.js';
143
151
  export { TransactionMethodType } from './generated/models/TransactionMethodType.js';
@@ -181,3 +189,4 @@ export { PrimaryNetworkRewardsService } from './generated/services/PrimaryNetwor
181
189
  export { PrimaryNetworkTransactionsService } from './generated/services/PrimaryNetworkTransactionsService.js';
182
190
  export { PrimaryNetworkUtxOsService } from './generated/services/PrimaryNetworkUtxOsService.js';
183
191
  export { PrimaryNetworkVerticesService } from './generated/services/PrimaryNetworkVerticesService.js';
192
+ export { TeleporterService } from './generated/services/TeleporterService.js';
package/esm/index.js CHANGED
@@ -20,6 +20,8 @@ export { CreateEvmTransactionExportRequest } from './generated/models/CreateEvmT
20
20
  export { CreatePrimaryNetworkTransactionExportRequest } from './generated/models/CreatePrimaryNetworkTransactionExportRequest.js';
21
21
  export { CurrencyCode } from './generated/models/CurrencyCode.js';
22
22
  export { DelegationStatusType } from './generated/models/DelegationStatusType.js';
23
+ export { DeliveredSourceNotIndexedTeleporterMessage } from './generated/models/DeliveredSourceNotIndexedTeleporterMessage.js';
24
+ export { DeliveredTeleporterMessage } from './generated/models/DeliveredTeleporterMessage.js';
23
25
  export { Erc1155Contract } from './generated/models/Erc1155Contract.js';
24
26
  export { Erc1155Token } from './generated/models/Erc1155Token.js';
25
27
  export { Erc1155TokenBalance } from './generated/models/Erc1155TokenBalance.js';
@@ -40,13 +42,16 @@ export { OperationType } from './generated/models/OperationType.js';
40
42
  export { PChainId } from './generated/models/PChainId.js';
41
43
  export { PChainTransactionType } from './generated/models/PChainTransactionType.js';
42
44
  export { PendingDelegatorDetails } from './generated/models/PendingDelegatorDetails.js';
45
+ export { PendingTeleporterMessage } from './generated/models/PendingTeleporterMessage.js';
43
46
  export { PendingValidatorDetails } from './generated/models/PendingValidatorDetails.js';
44
47
  export { PrimaryNetwork } from './generated/models/PrimaryNetwork.js';
45
48
  export { PrimaryNetworkChainName } from './generated/models/PrimaryNetworkChainName.js';
46
49
  export { PrimaryNetworkTxType } from './generated/models/PrimaryNetworkTxType.js';
50
+ export { RemovedValidatorDetails } from './generated/models/RemovedValidatorDetails.js';
47
51
  export { ResourceLinkType } from './generated/models/ResourceLinkType.js';
48
52
  export { RewardType } from './generated/models/RewardType.js';
49
53
  export { SortOrder } from './generated/models/SortOrder.js';
54
+ export { TeleporterRewardDetails } from './generated/models/TeleporterRewardDetails.js';
50
55
  export { TransactionMethodType } from './generated/models/TransactionMethodType.js';
51
56
  export { TransactionStatus } from './generated/models/TransactionStatus.js';
52
57
  export { UnknownContract } from './generated/models/UnknownContract.js';
@@ -75,3 +80,4 @@ export { PrimaryNetworkRewardsService } from './generated/services/PrimaryNetwor
75
80
  export { PrimaryNetworkTransactionsService } from './generated/services/PrimaryNetworkTransactionsService.js';
76
81
  export { PrimaryNetworkUtxOsService } from './generated/services/PrimaryNetworkUtxOsService.js';
77
82
  export { PrimaryNetworkVerticesService } from './generated/services/PrimaryNetworkVerticesService.js';
83
+ export { TeleporterService } from './generated/services/TeleporterService.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@avalabs/glacier-sdk",
3
- "version": "2.8.0-canary.736c05a.0+736c05a",
3
+ "version": "2.8.0-canary.7b2e02f.0+7b2e02f",
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": "736c05a857148a04e5029d94993560360ee3950d"
32
+ "gitHead": "7b2e02f8219d1db87de907f9855e0a60b65f7ef5"
33
33
  }